• Hi,
    we get this 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 '%d) GROUP BY wp_ngg_pictures.pid ORDER BY id DESC' at line 1 f\xc3\xbcr Abfrage SELECT DISTINCT wp_ngg_pictures.* , GROUP_CONCAT(CONCAT_WS('@@', meta_key, meta_value)) AS 'extras' FROMwp_ngg_picturesLEFT OUTER JOINwp_postmetaONwp_postmeta.post_id=extras_post_idWHERE (exclude= %d) GROUP BY wp_ngg_pictures.pid ORDER BY id DESC von nggMediaRss::get_last_pictures_mrss, nggdb::find_last_images, C_Image_Mapper->run_query, ExtensibleObject->__call, ExtensibleObject->_exec_cached_method, ReflectionMethod->invokeArgs, C_CustomTable_DataMapper_Driver_Mixin->run_query

    and site gets incredible slow when gallery is loading. – both front and backend.

    any suggestions are very welcome.

    Thanks and best,
    al

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @nexlaa – We are not seeing this elsewhere, what specifically are you doing to produce this message?

    – Cais.

    I discovered the same error in my logs and discovered, by crosschecking the access logs, the following script is at fault: /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/xml/media-rss.php

    So its the RSS feed of the plugin that is the cause of this php error.

    My recommendation: Disable the RSS feed of the plugin, at least until its fixed.

    Plugin Contributor photocrati

    (@photocrati)

    @davidh64 – Thanks for sharing that, but we’re not seeing this in our testing either … but if you would like to continue to review this please start your own topic.

    Thanks, again.

    – Cais.

    The RSS feed for me is also always empty, but that is probably just the result of the failed query…

    Dunno what else to say…

    Plugin Contributor photocrati

    (@photocrati)

    @davidh64 – Please start your own topic so we can try to help you with your specific issue on your specific site.

    See https://codex.www.ads-software.com/Forum_Welcome#Where_To_Post

    Thanks!

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘You have an error in your SQL syntax’ is closed to new replies.