when calling the gallery with <?php the_gallery(); ?> within my page i get the following sql-error:
You have an error in your SQL syntax near 'COUNT(parent_collection) AS num_items FROM plogger_pictures GROUP BY pare' at line 1
SELECT SQL_CALC_FOUND_ROWS COUNT(parent_collection) AS num_items FROM plogger_pictures GROUP BY parent_collection`
any hints ?