SQL Error: 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 'LIMIT 0, 25' at line 13 at /var/www/u0431465/data/www/strongsib.info/plugins/lsgallery/classes/modules/image/mapper/Image.mapper.class.php line 223
Array ( [code] => 1064 [message] => 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 'LIMIT 0, 25' at line 13 [query] => SELECT SQL_CALC_FOUND_ROWS i.image_id FROM prefix_lsgallery_image as i LEFT JOIN prefix_lsgallery_album as a ON a.album_id = i.album_id WHERE 1=1 AND i.image_date_add >= '2018-08-16 22:00:00' AND ((a.album_type='open') OR (a.album_type='shared')) GROUP BY i.image_id ORDER BY LIMIT 0, 25 [context] => /var/www/u0431465/data/www/strongsib.info/plugins/lsgallery/classes/modules/image/mapper/Image.mapper.class.php line 223 )