WordPress.org

Support

Support » Plugins and Hacks » PHP Errors on every search

PHP Errors on every search

  • Every time I run a search on my site, I obtain the following error in my PHP log. The search works fine in the front end of the site, but would prefer to clear these errors in the back end. Not sure if this was posted already but I can’t seem to find a way to search the topics:

    [27-May-2013 16:51:46 UTC] WordPress database error Unknown column ‘tter.name’ in ‘where clause’ for query SELECT wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) WHERE 1=1 AND (((((wp_posts.post_title LIKE ‘%caesar%’) OR (wp_posts.post_content LIKE ‘%caesar%’))) OR ((tter.name LIKE ‘%caesar%’)) OR ((tter.slug LIKE ‘%caesar%’)) OR ((ttax.description LIKE ‘%caesar%’)) OR ((m.meta_value LIKE ‘%caesar%’)) OR ((u.display_name LIKE ‘%caesar%’)) )) AND wp_posts.post_type = ‘product’ AND (wp_posts.post_status = ‘publish’) AND ( (wp_postmeta.meta_key = ‘_visibility’ AND CAST(wp_postmeta.meta_value AS CHAR) IN (‘visible’,’search’)) ) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC made by require(‘wp-blog-header.php’), wp, WP->main, do_action_ref_array, call_user_func_array, WC_Query->get_products_in_view, get_posts, WP_Query->query, WP_Query->get_posts

    http://wordpress.org/extend/plugins/search-everything/

  • The topic ‘PHP Errors on every search’ is closed to new replies.