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.

medium weight

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.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#401Thim Kit for Elementor – Pre-built Templates & Widgets for Elementor2829129220k+Output is not escaped
#402Ultimate FAQ Accordion Plugin2838622730k+Unsafe printing function
#403Product Sort and Display for WooCommerce281992352k+Output is not escaped
#404WP Mapbox GL JS Maps281041191k+Output is not escaped
#405WP Travel Gutenberg Blocks28485157900Output is not escaped
#406Accordion Slider293914442k+Unsafe printing function
#407Advance coupon for WooCommerce29472241900Text Domain Mismatch
#408AI Copilot – Content Generator291661611k+wp function not compatible with requires wp
#409Attribute Stock for WooCommerce – Shared Stock & Variable Quantities (Lite Version)294813132k+Text Domain Mismatch
#410Document Gallery29183988k+Output is not escaped
#411Getwid – Gutenberg Blocks2913917350k+Non-prefixed global variable
#412Image Hover Effects Ultimate ( Image Gallery, Effects, Lightbox, Comparison & Magnifier )292082520k+Non-prefixed namespace
#413Music Player for WooCommerce291061551k+Non-prefixed global variable
#414Post Timeline2991200800Missing nonce verification
#415Themify – WooCommerce Product Filter2964314520k+Output is not escaped
#416Post Grid Gutenberg Blocks for News, Magazines, Blog Websites – PostX2913540040k+Non-prefixed global variable
#417Ultimate Auction for WooCommerce – Excellent WP Auction Plugin29525232k+Non-prefixed global variable
#418User Verification by PickPlugins29413145k+Request data is not unslashed
#419Product Carousel Slider & Grid Ultimate for WooCommerce297191226k+Text Domain Mismatch
#420WP Magazine Modules Lite291526745k+Non-prefixed global variable
#421Xagio SEO – AI Powered SEO2911,26810k+Direct Query
#422Xpro Addons — 140+ Widgets for Elementor292782630k+Non-prefixed global variable
#423Dynamic Pricing With Discount Rules for WooCommerce301361315k+Output is not escaped
#424PublishPress Blocks – Block Controls, Block Visibility, Block Permissions3025134020k+Unsafe printing function
#425AI Product Tools – Bulk Product Content Generator & AI Toolkit for WooCommerce30502560400SQL query is not prepared
#426ApplyOnline – Application Form Builder and Manager303542602k+Output is not escaped
#427Classic Addons – WPBakery Page Builder301,2452633k+Text Domain Mismatch
#428Classified Listing Toolkits30431,8594k+Non-prefixed global variable
#429DethemeKit for Elementor3033522830k+Output is not escaped
#430Easy Affiliate Links301861987k+Missing direct file access protection
#431Edwiser Bridge – WordPress Moodle Integration3046694k+Non-prefixed hook name
#432Event post303551001k+Output is not escaped
#433Exclusive Addons for Elementor303,62926650k+Text Domain Mismatch
#434core plugin for kitestudio themes30244415500Nonce verification recommended
#435Meow Gallery3011118210k+Direct Query
#436Move Addons for Elementor303,919913k+Text Domain Mismatch
#437Novelist304751581k+Output is not escaped
#438Popup Builder – Create highly converting, mobile friendly marketing popups.3026722200k+Non-prefixed global variable
#439Post Grid, Slider & Carousel Ultimate – with Shortcode, Gutenberg Block & Elementor Widget302311021k+Non Singular String Literal Domain
#440Real Cookie Banner: GDPR & ePrivacy Cookie Consent309496100k+Database parameter is not escaped
#441Responsive Addons for Elementor – Free Elementor Addons, Kits and Elementor Templates30603873k+Non-prefixed global variable
#442Star Addons for Elementor302362551k+Non-prefixed global variable
#443Subscriptions for WooCommerce3011,19010k+Non-prefixed global variable
#444Themify Portfolio Post3021410230k+Text Domain Mismatch
#445Travel Booking Toolkit302453243k+Non-prefixed global variable
#446Travelers' Map303111551k+Output is not escaped
#447Tutor LMS Divi Modules304207221k+Non-prefixed global variable
#448WCPOS – Point of Sale (POS) plugin for WooCommerce30772285k+Nonce verification recommended
#449YayPricing – WooCommerce Dynamic Pricing & Discounts301741863k+Non-prefixed global variable
#450Advanced Woo Search – Product Search for WooCommerce3122837770k+Nonce verification recommended