[resolved] Error Log Troubleshooting (3 posts)

  1. cinbrad
    Posted 4 years ago #


    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.

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    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.

  3. cinbrad
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic