SQL Error Searching in Taxonomies
-
When I acrivate “Search Taxonomies” I get SQL Errors like these:
WordPress Database Error: [Not unique table/alias: ‘bsq_tr’]
SELECT DISTINCT wp_posts.ID,wp_posts.ID as ID,wp_posts.ID as ID FROM wp_posts LEFT JOIN wp_term_relationships AS bsq_tr ON (wp_posts.ID = bsq_tr.object_id) LEFT JOIN wp_term_taxonomy AS bsq_tt ON (bsq_tr.term_taxonomy_id = bsq_tt.term_taxonomy_id) LEFT JOIN wp_terms AS bsq_t ON (bsq_t.term_id = bsq_tt.term_id) LEFT JOIN wp_term_relationships AS bsq_tr ON (wp_posts.ID = bsq_tr.object_id) LEFT JOIN wp_term_taxonomy AS bsq_tt ON (bsq_tr.term_taxonomy_id = bsq_tt.term_taxonomy_id) LEFT JOIN wp_terms AS bsq_t ON (bsq_t.term_id = bsq_tt.term_id) WHERE 1=1 AND ( wp_posts.post_date <= '2023-03-15 18:35:20' ) AND (((wp_posts.post_title LIKE '%Staudamm%') OR (wp_posts.post_content LIKE '%Staudamm%')) OR ( ((bsq_t.name LIKE '%Staudamm%') OR (wp_posts.post_excerpt LIKE '%Staudamm%')) ) ) AND (wp_posts.post_password = '') AND wp_posts.post_type IN ('post', 'glossary') AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'inherit')) ORDER BY wp_posts.post_title LIKE '%Staudamm%' DESC, wp_posts.post_date DESC LIMIT 0, 10
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘SQL Error Searching in Taxonomies’ is closed to new replies.