Support » Fixing WordPress » Error Log Troubleshooting

  • Resolved cinbrad



    I’m a volunteer for a church website; self-taught WP with minimal programming experience but computer savvy. I’m getting errors logged in that I’m not sure how to troubleshoot. If anyone can assist I’d be grateful.

    ~~~~~~~This is the error:~~~~~~~

    [20-Oct-2011 10:41:11] 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-08-15 17:24:43' 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-08-15 17:24:43' AND p.post_type = 'attachment' AND p.post_status = 'publish' AND tt.taxonomy = 'category' ORDER BY p.post_date ASC LIMIT 1 made by require, require_once, include, bfa_next_previous_post_links, next_post_link, adjacent_post_link, get_adjacent_post

    ~~~~~~Error appears above this~~~~~~~

    Thanks for your assistance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi


    Forum Moderator

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Thank you for your suggestions. I will try these. I didn’t know inactive plugins could do anything.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error Log Troubleshooting’ is closed to new replies.