WordPress database error
-
I’m getting a WordPress database error after updating WP to 4.6.1 and CAS to 3.3.2. It’s very similar to the problem described here:
https://www.ads-software.com/support/topic/database-error-message-9/
But no solution was posted, just that the issue was resolved.
Error Message:
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 ‘)) AND (taxonomy.meta_value IS NULL OR taxonomy.meta_value IN(‘category’,’post_t’ at line 3 for query SELECT p.ID, p.post_parent FROM cij_posts p LEFT JOIN cij_postmeta post_type ON post_type.post_id = p.ID AND post_type.meta_key = ‘_ca_post_type’ LEFT JOIN cij_postmeta author ON author.post_id = p.ID AND author.meta_key = ‘_ca_author’ LEFT JOIN cij_postmeta taxonomy ON taxonomy.post_id = p.ID AND taxonomy.meta_key = ‘_ca_taxonomy’ LEFT JOIN cij_term_relationships term ON term.object_id = p.ID
WHERE
(post_type.meta_value IS NULL OR post_type.meta_value IN (‘column’,’7364′)) AND (author.meta_value IS NULL OR author.meta_value IN (‘author’,’7′)) AND (term.term_taxonomy_id IS NULL OR term.term_taxonomy_id IN (862,864,936,1429,1254,746,764,931,1428,1427,875,999,54,1421,1217,1423,1422,977,1425,1426,1424,1430,)) AND (taxonomy.meta_value IS NULL OR taxonomy.meta_value IN(‘category’,’post_tag’,’lead_author’,’_ca_sub_category’,’_ca_sub_post_tag’,’_ca_sub_lead_author’)) AND p.post_type = ‘condition_group’ AND p.post_status IN (‘publish’,’negated’)
made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/FST2015/single.php’), get_template_part, locate_template, load_template, require(‘/themes/FST2015/header-business-analysis.php’), display_ca_sidebar, ca_display_sidebar, CAS_Sidebar_Manager->manual_sidebar, WPCACore::get_posts, WPCACore::get_conditionsThe sidebar that is throwing this message is set to replace 1 Category, Exposure: Singular & Archive; Handle: Manual.
I’ve tried rolling back to the previously installed version of CAS, but that did not change anything.
Any ideas?
- The topic ‘WordPress database error’ is closed to new replies.