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
#301Local Delivery Drivers for WooCommerce241,8321,483900Non-prefixed global variable
#302Event Booking Manager for WooCommerce – Sell Tickets, Event Registration, RSVP & Event Calendar249682,1387k+Non-prefixed global variable
#303Generate Images (AI) – Magic Post Thumbnail241,9401,7616k+Non-prefixed global variable
#304Mailchimp for WooCommerce24523663200k+Non-prefixed global variable
#305Mang Board WP241,2134,7209k+Non-prefixed global variable
#306Timetable and Event Schedule by MotoPress2445623230k+Output is not escaped
#307Musician's Pack for Elementor – Music Website Widgets & Templates241,725228400Text Domain Mismatch
#308MxChat – AI Chatbot & Content Generation for WordPress243,2301,4052k+Text Domain Mismatch
#309Nexter Extension – Security, Performance, Code Snippets & Site Toolkit2417575910k+Nonce verification recommended
#310Ninja Forms – The Contact Form Builder That Grows With You247491,533600k+Nonce verification recommended
#311Page Builder: Pagelayer – Drag and Drop website builder24769556400k+Output is not escaped
#312PayPal Brasil para WooCommerce245543291k+Unsafe printing function
#313PixelYourSite – Your smart PIXEL (TAG) & API Manager241,1762,416500k+Non-prefixed namespace
#314Product Catalog Simple241,5551,9821k+Output is not escaped
#315Product Editor Pro – WooCommerce Bulk Edit: Prices, Stock, Images, Titles, CSV Import & More242,1544,8331k+Non-prefixed global variable
#316Product Tabs Manager for WooCommerce246344822k+Text Domain Mismatch
#317ProfileGrid – User Profiles, Groups and Communities244842,4615k+Non-prefixed global variable
#318Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors2436982020k+Nonce verification recommended
#319PickPlugins Question Answer24321,413400Non-prefixed global variable
#320Quick Event Manager241523881k+Non-prefixed function
#321Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker244052,60640k+Non-prefixed hook name
#322Registrations for the Events Calendar – Event Registration Plugin244049447k+Non-prefixed global variable
#323Reviews Feed – Add Testimonials and Customer Reviews From Google Reviews, Yelp, TripAdvisor, and More24146759100k+Non-prefixed global variable
#324RS WP Book Showcase – A Complete Book Catalogue & Library System249103431k+Text Domain Mismatch
#325RSFirewall!245635214k+Output is not escaped
#326SEO Engine – Smart SEO with AI, Schema & Redirection for WordPress242393041k+Direct Query
#327SEOKEY – Powerful SEO plugin with Expert Insights and SEO Audit246059281k+Non-prefixed global variable
#328Sequential Order Numbers for WooCommerce246984721k+Text Domain Mismatch
#329ShiftController Employee Shift Scheduling24358196700Output is not escaped
#330Simple Membership242,2971,73440k+Unsafe printing function
#331Sokol: Smart WooCommerce Search245991,5516k+Non-prefixed global variable
#332SiteOrigin Widgets Bundle24605455400k+Output is not escaped
#333Spotlight Social Feeds – Block, Shortcode, and Widget2441114760k+Output is not escaped
#334Squad Modules Lite – Free Divi 5 & Divi 4 Modules for Divi Builder246051,4721k+Non-prefixed global variable
#335Stripe Payment Forms by WP Simple Pay – Accept Credit Card Payments + Subscriptions with Stripe246346529k+Exception output is not escaped
#336Sugar Calendar – Events Calendar, Event Tickets, and Events Management Platform244311,01010k+Output is not escaped
#337Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers243601,4721k+Nonce verification recommended
#338Tainacan241385921k+Direct Query
#339Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud!24167225300k+Nonce verification recommended
#340The Plus Addons for Elementor – Addons for Elementor, Page Templates, Widgets, Mega Menu, WooCommerce2412,049494100k+Text Domain Mismatch
#341Tiered Pricing Table for WooCommerce246061,99010k+Non-prefixed global variable
#342Tutor LMS – eLearning and online course solution243284,409100k+Non-prefixed global variable
#343Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin249382,935200k+Non-prefixed global variable
#344Ultimate Post Kit Addons for Elementor2418341230k+Missing nonce verification
#345Ultimate Product Catalog245545255k+Unsafe printing function
#346Unlimited Elements For Elementor247102,093300k+Non-prefixed global variable
#347UpdraftPlus: WP Backup & Migration Plugin242772993m+Non-prefixed global variable
#348User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder246633,35350k+Non-prefixed global variable
#349Video Conferencing with Zoom241,10544010k+Unsafe printing function
#350WCMultiShipping — Mondial Relay, Inpost & Chronopost for WooCommerce247334995k+Output is not escaped