SQL ERROR
-
Getting an SQL error in the server log:
[03-Nov-2015 18:54:54 UTC] WordPress database 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 50’ at line 1 for query SELECT DISTINCT wp_ngg_pictures.* , GROUP_CONCAT(CONCAT_WS(‘@@’, meta_key, meta_value)) AS ‘extras’ FROMwp_ngg_pictures
LEFT OUTER JOINwp_postmeta
ONwp_postmeta
.post_id
=extras_post_id
WHERE (galleryid
= 1) GROUP BY wp_ngg_pictures.pid ORDER BY LIMIT 50 made by do_action(‘gallery_page_nggallery-manage-gallery’), call_user_func_array, nggAdminPanel->show_menu, nggManageGallery->controller, nggallery_picturelist, C_Image_Mapper->run_query, ExtensibleObject->__call, ExtensibleObject->_exec_cached_method, ReflectionMethod->invokeArgs, C_CustomTable_DataMapper_Driver_Mixin->run_queryHere’s the stats:
WordPress: 4.3.1 NextGEN: 2.1.15 (was kept up to date with each previous version ) MySQL: 5.5.46-cll PHP: 5.4.35 with Safe Mode OFF Apache: 2.2.29 with mod_rewrite Hosting: WiredTree dedicated server Theme: Avada 2.1.0 (Error still occurs with WordPressTwenty Fifteen theme activated) Plugins: Error occurs even with all other plugins deactivated
Thanks for your help
- The topic ‘SQL ERROR’ is closed to new replies.