WordPress.DB.SlowDBQuery.slow_db_query_meta_query

slow db query meta 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
#1101Media Library File Size803156k+Nonce verification recommended
#1102Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce80944580k+Non-prefixed hook name
#1103ElasticPress81136558k+Non-prefixed hook name
#1104Gutenverse Companion8116298k+Nonce verification recommended
#1105HivePress Geolocation812257k+Nonce verification recommended
#1106Recent Posts FlexSlider81131800Output is not escaped
#1107Redirect by Custom Field8156600Nonce verification recommended
#1108VS Event List8112598k+Non-prefixed global variable
#1109Colibri Page Builder821383190k+Missing direct file access protection
#1110ForumWP – Forum & Discussion Board8222444800Non-prefixed global variable
#1111Meks Easy Maps821313900Input is not sanitized
#1112OpenPix for WooCommerce826928500wp function not compatible with requires wp
#1113Regenerate Thumbnails821091m+Direct Query
#1114WebP Conversion821333k+Non-prefixed global variable
#1115HREFLANG Tags Management By Webnow83234600Non-prefixed global variable
#1116Max Addons for Bricks Builder836291k+Post Not In exclude
#1117Popup builder with Gamification, Multi-Step Popups, Page-Level Targeting, and WooCommerce Triggers8327360k+Direct Query
#1118Better Post & Filter Widgets for Elementor847273k+slow db query tax query
#1119Filterable Portfolio843761k+Non-prefixed global variable
#1120Ultra Addons Lite for Elementor843018700wp function not compatible with requires wp
#1121Attendance Manager859321800date date
#1122GazChap's WooCommerce Auto Category Product Thumbnails85481k+trademarked term
#1123JAMP Notes (Just Another Memo Plugin)85170183400Text Domain Mismatch
#1124Madquick WP Legal Pages – One Click, 100% Free85555600Non-prefixed global variable
#1125Pronamic Google Maps8524181k+Non-prefixed global variable
#1126Social Share Button8517071k+Non-prefixed global variable
#1127Advanced Queries8661110k+Non-prefixed constant
#1128Unlimited Theme Addon For Elementor867468600Missing direct file access protection
#1129Enable Abilities for MCP87481k+Direct Query
#1130Image Optimizer – Optimize Images and Convert to WebP or AVIF8714241m+Missing Translators Comment
#1131Bulk Page Generator and Mass Page Builder – Page Generator8726874k+Non-prefixed global variable
#1132Snitch87519900Nonce verification recommended
#1133Tickera – Sell Tickets & Manage Events877542k+Non-prefixed hook name
#1134Variations as Single Product – Display Single Variation for WooCommerce878331k+Direct Query
#1135WP Dashboard Messages87911400Text Domain Mismatch
#1136WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager8827333m+wp function not compatible with requires wp
#1137Skydropx88491k+Non-prefixed global variable
#1138WPC Smart Linked Products – Upsells & Cross-sells for WooCommerce8829700Nonce verification recommended
#1139Content Update Scheduler892172k+Non-prefixed global variable
#1140LH Copy Media File89215800wp function not compatible with requires wp
#1141Wbcom Designs – Shortcodes & Elementor Widgets For BuddyPress8926184600Non-prefixed hook name
#1142WPC Smart Notifications for WooCommerce8979600Non-prefixed global variable
#1143WPGet API – Connect to any external REST API89151910k+Missing direct file access protection
#1144External files in Media Library901668400Direct Query
#1145Power Coupons for WooCommerce9069120k+Non-prefixed global variable
#1146Bold Page Builder91123840k+Not In Footer
#1147CryptoCloud – Crypto Payment Gateway91136400Text Domain Mismatch
#1148Helio Pay (Accept 1-click crypto payments #USDC #SOL #BTC #ETH)91811500Missing direct file access protection
#1149WCFM – Multivendor Marketplace REST API for WooCommerce915341k+Non-prefixed hook name
#1150Cookie Consent – GDPR & CCPA Cookie Banner & Consent Manager921610k+Direct Query