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
#651WooMS3219958500Output is not escaped
#652WP Bannerize Pro32281216800Text Domain Mismatch
#653WP Popup32539651k+Text Domain Mismatch
#654SEOPress – AI SEO Plugin & On-site SEO32138429300k+Non-prefixed global variable
#655WPCasa – Real Estate for WordPress32854291k+Non-prefixed global variable
#656Advanced Forms for ACF331692783k+Non-prefixed hook name
#657Affiliate Program & Referral Tracking for WooCommerce & WordPress – Affilia3380172500Nonce verification recommended
#658Auto Listings – Car Listings & Car Dealership Plugin for WordPress33803212k+Non-prefixed global variable
#659Premium Portfolio Features for Phlox theme3320413740k+Output is not escaped
#660Awesome Widgets for SiteOrigin Page Builder3331459500Text Domain Mismatch
#661Bosta WooCommerce33303180700Text Domain Mismatch
#662Nexi XPay334962776k+Text Domain Mismatch
#663Contact List – Online Staff Directory & Address Book331183421k+Nonce verification recommended
#664DJ-Accessibility – Accessibility Plugin33370483k+Text Domain Mismatch
#665GDPR Cookie Compliance – Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law3348370300k+Non-prefixed global variable
#666Five Star Restaurant Reviews33242142400Output is not escaped
#667Ultimate Addons for Elementor33812912m+Non-prefixed class
#668HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce3337713920k+Unsafe printing function
#669Image Source Control Lite – Show Image Credits and Captions331402213k+Non-prefixed hook name
#670WPZOOM Social Feed Widget & Block3331027860k+Unsafe printing function
#671IssueM3356173600Request data is not unslashed
#672JetWidgets for Elementor and WooCommerce331871467k+Text Domain Mismatch
#673MWB HubSpot for WooCommerce – CRM, Abandoned Cart, Email Marketing, Marketing Automation & Analytics33262797k+Non-prefixed global variable
#674MAS Companies For WP Job Manager33623081k+Non-prefixed hook name
#675Membership For WooCommerce3340659900Non-prefixed global variable
#676Notification Master – Real-Time WordPress Notifications With Email, SMS, Webhooks & More332932151k+Text Domain Mismatch
#677Payflex Payment Gateway33181611k+Text Domain Mismatch
#678Podcast Subscribe Buttons33552395k+Text Domain Mismatch
#679Quick Restaurant Reservations33654179500Text Domain Mismatch
#680Reviews Plus332233781k+Non-prefixed function
#681RTMKit331138850k+Non-prefixed global variable
#682Schema & Structured Data for WP & AMP3363246100k+Non-prefixed global variable
#683ShopPress – Shop Builder for Elementor and WooCommerce3311879500Non-prefixed global variable
#684TaxCloud for WooCommerce3323261500Non-prefixed function
#685Sublanguage33266287700Output is not escaped
#686Webmention336489900Output is not escaped
#687Wonder Slider Lite332731878k+Output is not escaped
#688Product Addons for Woocommerce – Product Options with Custom Fields3312411430k+Output is not escaped
#689Mercado Pago payments for WooCommerce3361463100k+Short PHP open tag found
#690PDF Invoices Italian Add-on for WooCommerce333252005k+Non Singular String Literal Domain
#691Books Gallery – Book Showcase, Library & Affiliate Plugin331,7531782k+Output is not escaped
#692WP MyLinks333542061k+Text Domain Mismatch
#693Editor Blocks by Download Manager331741025k+Output is not escaped
#694WPoperation Elementor Addons33891521k+Text Domain Mismatch
#695Advanced Coupons for WooCommerce Coupons & Store Credit347421420k+Non-prefixed global variable
#696Assistant – Every Day Productivity Apps34124974k+Exception output is not escaped
#697Bayarcash WooCommerce34148138700Non Singular String Literal Domain
#698Buckets346876500Output is not escaped
#699SMS Abandoned Cart Recovery ✦ CartBoss346772400SQL query is not prepared
#700Custom Post Type Attachment3415349800wp function not compatible with requires wp