WordPress.DB.SlowDBQuery.slow_db_query_tax_query
slow db query tax query
A query pattern is likely to be slow on larger WordPress sites.
Why It Shows Up
The scan found query arguments such as broad meta queries, tax queries, or unindexed lookups that commonly become expensive as content grows.
Why It Matters
A query that feels fine on a small test site can become a production bottleneck on large stores, membership sites, or publishers.
How to Fix
- Avoid broad `meta_query`, `tax_query`, and unindexed searches on front-end requests when possible.
- Cache expensive results with transients, object cache, or precomputed data.
- Add narrower constraints, pagination, and indexes when custom tables are appropriate.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Updated | Top Issue |
|---|---|---|---|---|---|---|---|
| #501 | VK Filter Search | 51 | 35 | 71 | 6k+ | Recommended | |
| #502 | REST API Log | 51 | 44 | 95 | 5k+ | Non Prefixed Hookname Found | |
| #503 | YayMail – WooCommerce Email Customizer | 51 | 163 | 788 | 50k+ | Non Prefixed Variable Found | |
| #504 | Price Based on Country for WooCommerce | 52 | 43 | 126 | 20k+ | Non Prefixed Hookname Found | |
| #505 | Simple Blog Stats | 53 | 25 | 76 | 4k+ | Non Prefixed Function Found | |
| #506 | aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder | 54 | 8 | 382 | 2k+ | Non Prefixed Variable Found | |
| #507 | Helpie FAQ — Accordion, Docs & Knowledge Base | 54 | 96 | 89 | 9k+ | Recommended | |
| #508 | Quick and Easy Testimonials | 54 | 63 | 32 | 3k+ | Non Singular String Literal Domain | |
| #509 | Accordions | 55 | 1 | 101 | 20k+ | slow db query meta query | |
| #510 | Gutenify – Visual Site Builder Blocks & Site Templates | 55 | 66 | 40 | 5k+ | Missing Arg Domain | |
| #511 | MAS Brands for WooCommerce | 56 | 80 | 15 | 10k+ | Text Domain Mismatch | |
| #512 | iConvert Promoter | 57 | 98 | 217 | 1k+ | Non Prefixed Variable Found | |
| #513 | Gutenverse Form – Contact Form Builder, Block Form & Booking Form | 58 | 17 | 48 | 10k+ | Recommended | |
| #514 | UiCore Elements – Free widgets and templates for Elementor | 58 | 29 | 30 | 40k+ | Output Not Escaped | |
| #515 | Blog Designer | 59 | 62 | 83 | 10k+ | Text Domain Mismatch | |
| #516 | Display Post Types – Post Grid, post list and post sliders | 59 | 24 | 14 | 7k+ | Output Not Escaped | |
| #517 | Kubio AI Page Builder | 60 | 281 | 77 | 90k+ | missing direct file access protection | |
| #518 | Stratum Widgets for Elementor | 60 | 66 | 366 | 20k+ | Non Prefixed Variable Found | |
| #519 | WoowGallery | 60 | 15 | 178 | 1k+ | Non Prefixed Variable Found | |
| #520 | WP Blog Post Layouts | 60 | 36 | 249 | 10k+ | Non Prefixed Variable Found | |
| #521 | Powerkit – Supercharge your WordPress Site | 61 | 67 | 115 | 10k+ | Non Prefixed Variable Found | |
| #522 | Team Showcase | 61 | 1 | 125 | 1k+ | slow db query meta key | |
| #523 | Food Menu – Restaurant Menu & Online Ordering for WooCommerce | 61 | 16 | 1,167 | 3k+ | Non Prefixed Variable Found | |
| #524 | Category Sticky Post | 63 | 4 | 24 | 3k+ | Missing | |
| #525 | Essential Addons for Elementor – Popular Elementor Templates & Widgets | 63 | 78 | 185 | 2m+ | wp function not compatible with requires wp | |
| #526 | Royal MCP – Secure AI Connector for Claude, ChatGPT & Gemini | 64 | 6 | 32 | 5k+ | Interpolated Not Prepared | |
| #527 | JTL-Connector for WooCommerce | 64 | 7 | 166 | 1k+ | Direct Query | |
| #528 | WP Search with Algolia | 64 | 33 | 12 | 7k+ | missing direct file access protection | |
| #529 | Web and WooCommerce Addons for WPBakery Builder | 65 | 497 | 123 | 1k+ | Text Domain Mismatch | |
| #530 | Xpro Theme Builder For Elementor – FREE | 66 | 28 | 28 | 10k+ | Non Prefixed Hookname Found | |
| #531 | Series | 68 | 55 | 6 | 2k+ | Text Domain Mismatch | |
| #532 | Auto Update Post Date | 69 | 11 | 23 | 1k+ | Input Not Validated | |
| #533 | Quick and Easy FAQs | 70 | 93 | 9 | 10k+ | Non Singular String Literal Domain | |
| #534 | Bulk Price Update for Woocommerce | 70 | 2 | 28 | 2k+ | Missing Unslash | |
| #535 | Info Cards – Add Text and Media in Card Layouts | 71 | 9 | 28 | 2k+ | Non Prefixed Namespace Found | |
| #536 | Media Library Organizer – Folders, File Manager & Media Categories | 72 | 20 | 130 | 20k+ | Non Prefixed Variable Found | |
| #537 | Post Carousel for DV Builder | 74 | 152 | 9 | 2k+ | Text Domain Mismatch | |
| #538 | Easy Accordion – AI-Powered FAQ & Accordion Blocks, Product FAQ | 75 | 306 | 80k+ | Non Prefixed Variable Found | ||
| #539 | Ocean Posts Slider | 76 | 13 | 14 | 10k+ | Output Not Escaped | |
| #540 | Rearrange Products for WooCommerce | 76 | 1 | 22 | 20k+ | Input Not Sanitized | |
| #541 | RS Template Builder For Elementor – Complete Control Over Headers, Footers & More | 76 | 11 | 56 | 1k+ | Post Not In exclude | |
| #542 | wpsection | 77 | 131 | 554 | 3k+ | Non Prefixed Variable Found | |
| #543 | ShopEngine Gutenberg WooCommerce Builder Blocks Addon – All in One WooCommerce Solution | 80 | 424 | 735 | 3k+ | Non Prefixed Variable Found | |
| #544 | Random Content | 80 | 10 | 8 | 3k+ | Output Not Escaped | |
| #545 | ElasticPress | 81 | 13 | 655 | 8k+ | Non Prefixed Hookname Found | |
| #546 | AI Chatbot & Workflow Automation by AIWU | 84 | 123 | 36 | 1k+ | wp function not compatible with requires wp | |
| #547 | Better Post & Filter Widgets for Elementor | 84 | 5 | 27 | 3k+ | slow db query tax query | |
| #548 | Filterable Portfolio | 84 | 3 | 76 | 1k+ | Non Prefixed Variable Found | |
| #549 | Logo Slider and Showcase | 84 | 2 | 15 | 7k+ | Missing | |
| #550 | GazChap's WooCommerce Auto Category Product Thumbnails | 85 | 4 | 8 | 1k+ | trademarked term |