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
#851Injection Guard3786451k+Unsafe printing function
#852Job Manager & Career – Manage job board listings, and recruitments371122052k+Missing nonce verification
#853Language Switcher37811051k+Missing Translators Comment
#854LH Archived Post Status37150643k+Text Domain Mismatch
#855Meks Video Importer37622392k+Input is not sanitized
#856Ninja Van (MY)37212581k+Non-prefixed global variable
#857Poptics – Popup Builder, Email Opt-ins, Exit-Intent & WooCommerce Popups Sales3759642k+SQL query is not prepared
#858RSS for Yandex Zen372401004k+Unsafe printing function
#859Sensei LMS Certificates37973624k+Non-prefixed global variable
#860Time Clock – A WordPress Employee & Volunteer Time Clock Plugin37166107500Output is not escaped
#861Tracking Script Manager3782572k+Non Singular String Literal Domain
#862ViaBill – WooCommerce3743781500Text Domain Mismatch
#863Conditional Discounts for WooCommerce – A simple yet complete woocommerce dynamic pricing plugin37993310k+Text Domain Mismatch
#864Xendit Payment3731973k+Missing nonce verification
#865WP Plugin Info Card3753376500Nonce verification recommended
#866TopNewsWp – Display Tikcer News, RSS Feed Widget and Many More3787859800Output is not escaped
#867WP VR – 360 Panorama and Virtual Tour Builder37327510k+Non-prefixed hook name
#868Advanced Media Offloader3857935k+error log error log
#869Advanced Sermons388331841k+Unsafe printing function
#870Attachments38238668k+Unsafe printing function
#871Category Posts Widget381532640k+Output is not escaped
#872CC Child Pages38631529k+Non-prefixed global variable
#873Elemailer Lite – Elementor email template & campaign builder3844505k+Output is not escaped
#874Responsive WordPress Slider – HG Slider3867757k+Missing nonce verification
#875jQuery Pin It Button for Images381293610k+Output is not escaped
#876Jupiter X Core387176780k+Non-prefixed global variable
#877Kali Forms — Contact Form & Drag-and-Drop Builder38325210k+Dynamic hook name
#878Magical Posts Display – Elementor Advanced Posts widgets38117483k+Output is not escaped
#879Mega Elements – Addons for Elementor381705710k+Output is not escaped
#880One Click Demo Import3822841m+Non-prefixed global variable
#881PDF Catalog for WooCommerce3830461k+Nonce verification recommended
#882WP REST API – OAuth 1.0a Server38100858k+Text Domain Mismatch
#883SimpleShop3852511k+date date
#884Subscriptions & Memberships for PayPal3873237900Request data is not unslashed
#885Broadcast38211071k+Direct Query
#886WholesaleX – B2B & Wholesale Plugin for WooCommerce with Wholesale Prices38401802k+Non-prefixed global variable
#887Products Coming Soon for WooCommerce3815162700Output is not escaped
#888WP Accessibility Helper (WAH)38618810k+Missing direct file access protection
#889Accounting for WooCommerce3987115500Unsafe printing function
#890Additional Order Filters for WooCommerce39792552k+Nonce verification recommended
#891Affiliate Links – Link Cloaking and Management39231133k+Non-prefixed global variable
#892Andreani WooCommerce392186700Non-prefixed global variable
#893bbPress Voting392753500Output is not escaped
#894Culqi39571881k+Text Domain Mismatch
#895Datalogics Ecommerce Delivery – Datalogics3913115500Nonce verification recommended
#896Duplicate Killer – Prevent Duplicate Form Submissions39571031k+Non-prefixed global variable
#897Easy PayPal Events & Tickets39285501k+Request data is not unslashed
#898Email Marketing by EmailOctopus3943623k+Non-prefixed global variable
#899Flex Import3915140500Non-prefixed global variable
#900Gutenverse News – News Blocks for Blog & Magazine Sites393765800Non-prefixed hook name