Input array does not match ?: QUERY ERROR2646952589989689174791655525635256252555523875238678587
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'QUERY ERROR2646952589989689174791655525635256252555523875238678587' at line 1
                                 ADOConnection._Execute(QUERY ERROR2646952589989689174791655525635256252555523875238678587) % line  836, file: adodb.inc.php
                              ADOConnection.Execute(QUERY ERROR, Array[11]) % line  469, file: GalleryStorage.class
                           GalleryStorage.search(
        SELECT
          [GalleryItemAttributesMap=1::itemId],
          COUNT([GalleryItemAttributesMap=2::itemId])
        FR..., Array[11], Array[0]) % line  223, file: Gallery.class
                        Gallery.search(
        SELECT
          [GalleryItemAttributesMap=1::itemId],
          COUNT([GalleryItemAttributesMap=2::itemId])
        FR..., Array[11]) % line  308, file: GalleryItemHelper_simple.class
                     GalleryItemHelper_simple.fetchUncachedDescendentCounts(Array[1], 5) % line  209, file: GalleryItemHelper_simple.class
Error!