SQL syntax error after WP & NGG update
-
Hello!
I just updated WP from 6.0.9 to 6.8 and NGG from 3.29 to 3.59.11. Since then I receive many errors like this:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near
'FROM wp_posts WHERE 1=1 AND ((wp_posts.post_type = 'post' AND (wp_pos...'
at line 2 for query
SELECT SQL_CALC_FOUND_ROWS all
FROM wp_posts
WHERE 1=1 AND ((wp_posts.post_type = 'post'
AND (wp_posts.post_status = 'publish')))
AND wp_posts.ID not in(149007)
ORDER BY wp_posts.post_date DESC
LIMIT 0, 30 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/branfordmagazine-child/single.php'), related_posts, yarpp_related, YARPP->display_related, YARPP->get_template_content, include('/themes/branfordmagazine-child/yarpp-template-pex2.php'), get_the_excerpt, apply_filters('get_the_excerpt'), WP_Hook->apply_filters, wp_trim_excerpt, apply_filters('the_content'), WP_Hook->apply_filters, Imagely\NGG\IGW\ATPManager->substitute_placeholder_imgs, Imagely\NGG\DataMapper\DriverBase->find, Imagely\NGG\DataMapper\WPPostDriver->run_query, WP_Query->__construct, WP_Query->query, WP_Query->get_postsI checked the files to be included, but there’s nothing wrong with them. The references to Imagely\NGG led me to the suspicion that it has something to do with the NextGen Gallery Plugin.
How can I fix this error?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘SQL syntax error after WP & NGG update’ is closed to new replies.