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
#751Events Calendar by FooEvents3556594k+Non-prefixed global variable
#752GDPR Compliance & Cookie Consent35251614k+Output is not escaped
#753Gum Addon for Elementor356607250k+Text Domain Mismatch
#754Ultimate Addons for Elementor35702262m+Non-prefixed hook name
#755Help Scout351113400Missing direct file access protection
#756HivePress – Business Directory, Listings & Classified Ads Plugin353818010k+Direct Query
#757Hyve Lite – AI Chatbot, ChatGPT-Powered Conversational Support351407k+Direct Query
#758InPost PL35292510k+Non-prefixed global variable
#759Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts35649160k+Output is not escaped
#760Inspiro Starter Sites – 20+ Free Demo Templates for Gutenberg & Elementor35620010k+Non-prefixed global variable
#761Issuu PDF Sync3515928900Text Domain Mismatch
#762Kargo Takip35841423k+Missing nonce verification
#763Kirki – Freeform Page Builder, Website Builder & Customizer351773500k+Nonce verification recommended
#764Klarna Order Management for WooCommerce35223710k+Non-prefixed hook name
#765Topic Progression Using Storyline/Captivate for LearnDash3538225400Text Domain Mismatch
#766Magical Addons For Elementor ( Header Footer Builder, Free Elementor Widgets, Elementor Templates Library )352731275k+Output is not escaped
#767MapSVG – Vector maps, Image maps, Google Maps3574471k+Missing direct file access protection
#768MeetingHub – Webinar & Meeting Plugin for Zoom, Google Meet, Webex, Microsoft Teams, & Jitsi Meet3533289500Non-prefixed global variable
#769More Widgets3555151k+Output is not escaped
#770Moyasar35436128700Text Domain Mismatch
#771Never Let Me Go353447400Non-prefixed global variable
#772Noted!355221k+Non-prefixed global variable
#773Paytrail for WooCommerce3528463k+Non-prefixed global variable
#774Perfecty Push Notifications352042134k+SQL query is not prepared
#775PiWeb Delivery & Pickup Date Time for WooCommerce35377163500Text Domain Mismatch
#776Pie Calendar – Events Calendar Made Simple3583531k+Text Domain Mismatch
#777Post Content Shortcodes35205562k+Output is not escaped
#778PowerPack Addons for Elementor (Free Widgets, Extensions and Templates)3565680k+Post Not In exclude
#779Presto Player355977100k+Missing Arg Domain
#780Product Input Fields for WooCommerce3518844k+Non-prefixed function
#781Random Post on Refresh3538500Non-prefixed hook name
#782Recurio – Ultimate Subscription for WooCommerce35343041k+Direct Query
#783Related Posts for WordPress3520718010k+Output is not escaped
#784Restrict Elementor Widgets, Columns and Sections351853500Non-prefixed function
#785RTMKit35537850k+Non-prefixed global variable
#786SEO Slider35242171k+Text Domain Mismatch
#787Security Optimizer – The All-In-One Protection Plugin3540821m+Request data is not unslashed
#788Simple CAPTCHA with Cloudflare Turnstile3582148100k+Output is not escaped
#789Gutenberg Blocks – Unlimited blocks For Gutenberg3551247900Missing nonce verification
#790Void Elementor Post Grid Addon for Elementor Page builder35189933k+Text Domain Mismatch
#791W4 Post List35501383k+Non-prefixed global variable
#792Conditional Payments and Shipping for WooCommerce35338271k+Text Domain Mismatch
#793wePOS – Point Of Sale (POS) for WooCommerce & Dokan3547661k+Output is not escaped
#794Wired Impact Volunteer Management352531751k+Output is not escaped
#795Asaas Gateway for WooCommerce35121098k+Non-prefixed global variable
#796Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing354922950k+Non-prefixed hook name
#797Invoices for WooCommerce355516810k+Non-prefixed global variable
#798PDF Invoices & Packing Slips for WooCommerce3535956300k+Non-prefixed hook name
#799Brevo for WooCommerce351166730k+Output is not escaped
#800Wholesale Suite – B2B, Dynamic Pricing & WooCommerce Wholesale Prices35225220k+Direct Query