Broken wordpress query
-
When I install and active that “search everywhere” plugin, some of my content that uses custom metadata fields does not display properly. When I review this in my php error logs, I see:
WordPress database error Unknown column ‘tter.name’ in ‘where clause’ for query SELECT DPFLwp_posts
.ID FROM DPFLwp_posts WHERE 1=1 AND (((((DPFLwp_posts.post_title LIKE ‘%Practi
ces%’) OR (DPFLwp_posts.post_content LIKE ‘%Practices%’))) OR ((tter.name LIKE ‘
%Practices%’)) OR ((tter.slug LIKE ‘%practices%’)) OR ((ttax.description LIKE
‘%Practices%’)) OR ((m.meta_value LIKE ‘%Practices%’)) OR ((DPFLwp_posts.post_
excerpt LIKE ‘%Practices%’)) )) AND DPFLwp_posts.post_type = ‘acf’ AND ((DPFLwp
_posts.post_status = ‘publish’)) ORDER BY DPFLwp_posts.post_date DESC LIMIT 0,
5 made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-load
er.php’), include(‘/themes/dpf/template-practice.php’), dpf_tabs_for_group, dpf_
fields_for_group, get_posts, WP_Query->query, WP_Query->get_postsIf I disable the plugin, my page displays as expected. I’ve tried modifying settings in the plugin but those don’t seem to fix things. Any thoughts?
The topic ‘Broken wordpress query’ is closed to new replies.