Support » Requests and Feedback » [Plugin: Search Everything] SE 4.5 / WP 2.5x conflicts in widgets.php -> recent_posts

  • If you perform a search, the recent_posts widget displays an error on the results page:

    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 '(wp_posts.post_status = 'publish') OR ( LIKE '%bugs%') OR ( c.comment' at line 1]
    SELECT DISTINCT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts LEFT JOIN wp_term_relationships AS trel ON (wp_posts.ID = trel.object_id) LEFT JOIN wp_term_taxonomy AS ttax ON ( ( ttax.taxonomy = 'post_tag' ) AND trel.term_taxonomy_id = ttax.term_taxonomy_id) LEFT JOIN wp_terms AS tter ON (ttax.term_id = tter.term_id) LEFT JOIN wp_comments AS c ON ( comment_post_ID = ID ) WHERE 1=1 AND wp_posts.(wp_posts.post_status = 'publish') OR ( LIKE '%bugs%') OR ( c.comment_post_ID = wp_posts.ID AND c.comment_approved = '1' AND c.comment_content LIKE '%bugs%') ORDER BY wp_posts.post_date DESC LIMIT 0, 5
Viewing 1 replies (of 1 total)
  • Same problem here. Using SE 4.7.7 and WP 2.6.3.

    I notice if I de-select “Search every page (non-password protected)” this problem goes away. Hope that helps someone fix it.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Search Everything] SE 4.5 / WP 2.5x conflicts in widgets.php -> recent_posts’ is closed to new replies.