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
#751Quick and Easy FAQs7192910k+Non Singular String Literal Domain
#752Amazing Affiliates – Toolkit for Amazon Associates with Amazon Product Blocks and Amazon PAAPI5 / Creators API integration723650600Non-prefixed global variable
#753Discontinued Product Stock Status for WooCommerce72151500Missing nonce verification
#754Media Library Organizer – Folders, File Manager & Media Categories722013020k+Non-prefixed global variable
#755Waymark721632900Missing direct file access protection
#756Post Sliders & Post Grids736431k+Request data is not unslashed
#757Post Carousel for DV Builder7415292k+Text Domain Mismatch
#758Product Layouts for WooCommerce745751k+Direct Query
#759Easy Accordion – AI-Powered FAQ & Accordion Blocks, Product FAQ7530670k+Non-prefixed global variable
#760Leo Product Recommendations for WooCommerce76379400Short URL found
#761Ocean Posts Slider76131410k+Output is not escaped
#762Rearrange Products for WooCommerce7612220k+Input is not sanitized
#763RS Template Builder For Elementor – Complete Control Over Headers, Footers & More7611561k+Post Not In exclude
#764wpsection771315543k+Non-prefixed global variable
#765Related Products Manager for WooCommerce799431k+Non-prefixed global variable
#766ShopEngine Gutenberg WooCommerce Builder Blocks Addon – All in One WooCommerce Solution804247353k+Non-prefixed global variable
#767Post Carousel Addons For Elementor80981k+Output is not escaped
#768Random Content801083k+Output is not escaped
#769ElasticPress81136558k+Non-prefixed hook name
#770Info Cards – Add Text and Media in Card Layouts817252k+Non-prefixed namespace
#771Timed Content For Beaver Builder812981k+date date
#772Bulk Order Form for WooCommerce81898900Non-prefixed hook name
#773ForumWP – Forum & Discussion Board8222444800Non-prefixed global variable
#774Xpro Theme Builder For Elementor – FREE82142810k+Missing direct file access protection
#775WPC AJAX Search for WooCommerce831291k+Nonce verification recommended
#776Aimogen – AI Content Writer, Chatbot, Editor and AI Automation for WordPress841234400Not In Footer
#777Better Post & Filter Widgets for Elementor847273k+slow db query tax query
#778Filterable Portfolio843761k+Non-prefixed global variable
#779Logo Slider and Showcase842157k+Missing nonce verification
#780WPC Grouped Product for WooCommerce84453k+Nonce verification recommended
#781GazChap's WooCommerce Auto Category Product Thumbnails85481k+trademarked term
#782News Element Elementor Blog Magazine85174695400Non-prefixed global variable
#783Unlimited Theme Addon For Elementor867468600Missing direct file access protection
#784Enable Abilities for MCP87481k+Direct Query
#785Variations as Single Product – Display Single Variation for WooCommerce878331k+Direct Query
#786Serious Slider887920k+Non-prefixed global variable
#787Generic Elements881,922140500Text Domain Mismatch
#788WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager8827333m+wp function not compatible with requires wp
#789Piotnet Addons For Elementor887442630k+Text Domain Mismatch
#790Smart Blocks – WordPress Gutenberg Blocks8810761k+Post Not In post not in
#791WPC Smart Linked Products – Upsells & Cross-sells for WooCommerce8829700Nonce verification recommended
#792Attachment Taxonomies8918900Input is not sanitized
#793Convert to Blocks892112k+Non-prefixed hook name
#794Custom Layouts – Post + Product grids made easy8923224k+Missing Translators Comment
#795WPC Smart Notifications for WooCommerce8979600Non-prefixed global variable
#796Canvas90211510k+Non-prefixed global variable
#797External files in Media Library901668400Direct Query
#798Bold Page Builder91123840k+Not In Footer
#799ERE Similar Properties – Essential Real Estate Add-On91431k+Missing direct file access protection
#800Gutentools9117104k+Missing direct file access protection