Support » Fixing WordPress » WordPress database error / SQL Syntax error

  • Resolved indietravel


    I’m not sure where to start looking to diagnose the following errors in WP3.5 w/ multisite on, and BuddyPress too:

    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 blog_id = 1 AND meta_key = ‘last_activity” at line 1 for query SELECT * FROM WHERE blog_id = 1 AND meta_key = ‘last_activity’ made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, wpms_init, wp_publish_post, wp_update_post, wp_insert_post, do_action(‘save_post’), call_user_func_array, bp_blogs_record_post, bp_blogs_update_blogmeta

    Similar errors are cropping up with every ‘publish’ activity on the site, including comments, etc.

    I haven’t found any similar examples, has anyone seen this before?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress database error / SQL Syntax error’ is closed to new replies.