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
#51Wise Chat214705065k+Output is not escaped
#52Pay For Post with WooCommerce219601,4741k+Non-prefixed global variable
#53PPOM – Product Addons & Custom Fields for WooCommerce213361,32520k+Non-prefixed global variable
#54Frontend Admin by DynamiApps225,9223,20810k+Text Domain Mismatch
#55Advanced Classifieds & Directory Pro221,2293,5112k+Non-prefixed global variable
#56Advanced Form Integration — Connect Forms to 200+ Apps225,7714,67810k+wp function not compatible with requires wp
#57All-in-One Video Gallery229112,89220k+Non-prefixed global variable
#58Shortcodes and extra features for Phlox theme2241342690k+Output is not escaped
#59Knowledge Base documentation & wiki plugin – BasePress Docs226711,7672k+Non-prefixed global variable
#60Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots221,6042,01910k+Direct Query
#61BuddyPress225839,008100k+Non-prefixed function
#62Passster – Password Protect Pages and Content225391,41910k+Non-prefixed global variable
#63Cozy Blocks – Page Builder for Gutenberg Editor & FSE with 500+ Patterns, 57 Blocks & Templates222,1674,1757k+Non-prefixed global variable
#64RegistrationMagic – Custom Registration Forms, User Registration, Payment, and User Login223,6545,0618k+Non-prefixed global variable
#65WP Customer Area223,30894110k+Text Domain Mismatch
#66Data Tables Generator by Supsystic2215614410k+Exception output is not escaped
#67Directorist: AI-Powered Business Directory, Listings & Classified Ads224432,12920k+Non-prefixed global variable
#68Download Manager222,2901,301100k+Output is not escaped
#69EleSpare – News, Magazine and Blog Addons for Elementor227331,42310k+Non-prefixed global variable
#70Estatik Real Estate Plugin223,04932510k+Text Domain Mismatch
#71Events Manager – Calendar, Bookings, Tickets, and more!224,7225,62170k+Output is not escaped
#72Finale Lite – Sales Countdown Timer & Discount for WooCommerce221,0314514k+Output is not escaped
#73GeoDirectory – WP Business Directory Plugin and Classified Listings Directory224,4623,97210k+Output is not escaped
#74Gutenberg22628342300k+Missing direct file access protection
#75Happyforms – Form Builder for WordPress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms221,03772220k+Unsafe printing function
#76Csomagpontok és Címkék WooCommerce-hez222,0017697k+Text Domain Mismatch
#77Számlázz.hu integráció WooCommerce-hez221,1694607k+Text Domain Mismatch
#78Import WP – Export and Import CSV and XML files to WordPress225803304k+Exception output is not escaped
#79LearnPress – WordPress LMS Plugin for Create and Sell Online Courses222,3613,38470k+Non-prefixed global variable
#80Leyka222533,4452k+Request data is not unslashed
#81Slider, Gallery, and Carousel by MetaSlider – Image Slider, Video Slider22207323500k+Non-prefixed global variable
#82Modula Image Gallery – Photo Grid & Video Gallery22474436100k+Text Domain Mismatch
#83Molongui Authorship – Author Boxes, Guest Authors & Co-Authors for WordPress229191,23010k+Output is not escaped
#84Motors – Car Dealership & Classified Listings Plugin225,3405,9589k+Text Domain Mismatch
#85WP OAuth Server (OAuth Authentication)221893473k+Non-prefixed function
#86oik224891802k+Non Singular String Literal Domain
#87PagBank / PagSeguro Connect para WooCommerce225047434k+Non-prefixed global variable
#88Pronamic Pay222581,0773k+Non-prefixed global variable
#89Restrict User Access – Ultimate Membership & Content Protection229771,84010k+Non-prefixed global variable
#90Salon Booking System – Free Version226506193k+Missing direct file access protection
#91Secure Custom Fields222411,36980k+Non-prefixed function
#92Slim Jetpack222,5861,9472k+Text Domain Mismatch
#93SNS Count Cache229181208k+Non Singular String Literal Domain
#94NextScripts: Social Networks Auto-Poster222,4081,13330k+Output is not escaped
#95SportsPress – Sports Club & League Manager224602,24210k+Non-prefixed global variable
#96Tablesome Table – Contact Form DB – WPForms, CF7, Gravity, Forminator, Fluent222255198k+error log error log
#97Tag Groups is the Advanced Way to Display Your Taxonomy Terms225754653k+Unsafe printing function
#98ThemeHunk Customizer223,9695827k+Text Domain Mismatch
#99Uncanny Automator – Easy Automation, Integration, Webhooks & Workflow Builder Plugin225302,33440k+Direct Query
#100Welcart e-Commerce2210,37710,89610k+Text Domain Mismatch