Error In SQL Syntax
-
Talking about this plugin: https://www.ads-software.com/extend/plugins/upprev-nytimes-style-next-post-jquery-animated-fly-in-button/
Hi,
After updating wordpress to 3.1.4 and later on to 3.2, the error log started registering following error repeatedly: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 ‘) WHERE p.post_date < ‘2010-06-23 21:07:11’ AND p.post_type = ‘attachment’ AND p’ at line 1 for query SELECT p.* FROM wp_posts AS p INNER JOIN wp_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN wp_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id AND tt.taxonomy = ‘category’ AND tt.term_id IN () WHERE p.post_date < ‘2010-06-23 21:07:11’ AND p.post_type = ‘attachment’ AND p.post_status = ‘publish’ AND tt.taxonomy = ‘category’ ORDER BY p.post_date DESC LIMIT 1 made by require, require_once, include, get_footer, locate_template, load_template, require_once, wp_footer, do_action, call_user_func_array, upprev_box, get_adjacent_post
I am guessing this has something to do with plugin’s compatibility with newer version of wordpress.
Please help ??
- The topic ‘Error In SQL Syntax’ is closed to new replies.