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
#651FAQ Concertina404316600Output is not escaped
#652Flamingo4015228800k+Nonce verification recommended
#653Internal Linking of Related Contents40714471k+Output is not escaped
#654Invite Anyone40321301k+Non-prefixed hook name
#655PE Recent Posts40292112k+Output is not escaped
#656PT Theme Addon4067211k+Output is not escaped
#657Random Post Plugin – Redirect URL to Post4028743k+Nonce verification recommended
#658Same Category Posts4018383k+Output is not escaped
#659Search with Typesense4081122700Non-prefixed global variable
#660Simple Restrict4035131k+Output is not escaped
#661SiteSEO – SEO Simplified4036119500k+Nonce verification recommended
#662WPC Frequently Bought Together for WooCommerce406310910k+Output is not escaped
#663Media Library Categories40294920k+Output is not escaped
#664WP Posts Carousel40199123k+Unsafe printing function
#665WPC Force Sells for WooCommerce403897600Output is not escaped
#666WPC Smart Price Filter for WooCommerce402362600Nonce verification recommended
#667DevVN Local Store4184281k+Unsafe printing function
#668Flexible Posts Widget41136337k+Output is not escaped
#669Mihdan: Yandex Turbo Feed4165391k+Output is not escaped
#670Live Chat & AI Chatbot – onWebChat413191700error log error log
#671Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News4153720k+Non-prefixed global variable
#672Service Box41150230400Missing nonce verification
#673Super Testimonial – Testimonial & Customer Review Slider Plugin for WordPress41271682k+Request data is not unslashed
#674WPC Product Bundles for WooCommerce41219330k+Missing nonce verification
#675WP Media folders4119743k+Direct Query
#676Post Grid Master — Post Grids & AJAX Filters42441151k+Non-prefixed global variable
#677Fusion Page Builder : Extension – Gallery422930600Output is not escaped
#678Simple Download Counter4258462k+Output is not escaped
#679Staffer428842600Output is not escaped
#680StifLi Flex MCP – MCP Server with undo for ChatGPT, Claude & Gemini4221101k+Interpolated SQL is not prepared
#681WP Media Category Management42101766k+Nonce verification recommended
#682Advanced FAQ Manager438592k+Input is not sanitized
#683Directorist – WPML Integration4310134400Non-prefixed hook name
#684Floating Awesome Button (Sticky Button, Popup, Toast) & 200+ Website Custom Interactive Element4366109800Missing direct file access protection
#685Logo Slider WP – Responsive Logo Carousel, Logo Gallery & Logo Showcase432225510k+Non-prefixed global variable
#686Post Carousel Slider for Elementor43133233k+Text Domain Mismatch
#687Post Grid443320830k+Non-prefixed global variable
#688SKT Addons for Elementor446113831k+Text Domain Mismatch
#689WP Club Manager – WordPress Sports Club Plugin44171682600Non-prefixed global variable
#690Wpazure Kit44136140800Missing direct file access protection
#691Related Posts By PickPlugins454843k+Non-prefixed global variable
#692PickPlugins Product Designer for WooCommerce4614123500Missing nonce verification
#693Simple Sitemap – Create a Responsive HTML Sitemap46334860k+Non-prefixed hook name
#694Groups 404 Redirect4735331k+Non Singular String Literal Domain
#695AnWP Post Grid and Post Carousel Slider for Elementor4875817120k+Text Domain Mismatch
#696CookieFox – Cookie Notice481419400Output is not escaped
#697ThemeFarmer Companion4854512k+Missing Version
#698Category Posts in Custom Menu4919182k+Output is not escaped
#699OneClick Chat to Order496774140k+Text Domain Mismatch
#700Product Slider, Product Grid, Product Masonry495514410k+wp function not compatible with requires wp