SQL error on WPMU – WHERE 1=1 3
-
Hi,
I just installed Worpress MU – trying to get it working. I have the latest version, and have installed the S2K, Widgets and Ultimate Warrior Tags extensions. I’m getting these two strange error messages on every WP page in my blog (not admin interface):
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 '3 AND (post_type = 'post' AND (post_status = 'publish' OR post_status = 'private' at line 1]
SELECT DISTINCT wp_2_posts.* FROM wp_2_posts LEFT JOIN wp_2_post2cat ON (wp_2_posts.ID = wp_2_post2cat.post_id) WHERE 1=1 3 AND (post_type = 'post' AND (post_status = 'publish' OR post_status = 'private')) ORDER BY post_date DESC LIMIT 0, 10
<br>
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 '3 AND (post_type = 'post' AND (post_status = 'publish' OR post_status = 'private' at line 1]
SELECT COUNT(DISTINCT wp_2_posts.ID) FROM wp_2_posts LEFT JOIN wp_2_post2cat ON (wp_2_posts.ID = wp_2_post2cat.post_id) WHERE 1=1 3 AND (post_type = 'post' AND (post_status = 'publish' OR post_status = 'private'))I know SQL and see that it obviously doesn’t want to accept “1=1 3” but why?
I’ve ran various WP blogs over the past 2 years and this is a new error (hehe)Thanks for helping,
Vladimir
- The topic ‘SQL error on WPMU – WHERE 1=1 3’ is closed to new replies.