Title: PHP Errors on every search
Last modified: August 21, 2016

---

# PHP Errors on every search

 *  [cryogenn](https://wordpress.org/support/users/cryogenn/)
 * (@cryogenn)
 * [13 years ago](https://wordpress.org/support/topic/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/](http://wordpress.org/extend/plugins/search-everything/)

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

 * ![](https://s.w.org/plugins/geopattern-icon/search-everything_242529.svg)
 * [Search Everything](https://wordpress.org/plugins/search-everything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-everything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-everything/)
 * [Active Topics](https://wordpress.org/support/plugin/search-everything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-everything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-everything/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 0 replies
 * 1 participant
 * Last reply from: [cryogenn](https://wordpress.org/support/users/cryogenn/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/php-errors-on-every-search/)
 * Status: not resolved