WordPress.DB.DirectDatabaseQuery.NoCaching

No Caching

The plugin runs a direct database query instead of using a higher-level WordPress API or cache-aware pattern.

medium weight

Why It Shows Up

Plugin Check found `$wpdb` access that queries the database directly, changes schema, or bypasses normal caching expectations.

Why It Matters

Direct queries can be correct, but they are easier to make unsafe, slower at scale, and harder for WordPress to cache or filter.

How to Fix

  • Use WordPress APIs such as post, term, metadata, option, or user functions when they fit the task.
  • If direct SQL is necessary, prepare dynamic values and add a clear caching strategy for repeated reads.
  • Keep schema changes in activation or upgrade routines and make them idempotent.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#201Advanced AJAX Product Filters222,6831,20550k+Text Domain Mismatch
#202CoDesigner – All in One Elementor WooCommerce Builder224,1317745k+Text Domain Mismatch
#203Simple Shopping Cart2279653610k+Unsafe printing function
#204ManageWP Worker225075651m+Non-prefixed class
#205WP Affiliate Disclosure221,3581,5041k+Non-prefixed global variable
#206Asset CleanUp: Page Speed Booster222,0302,485100k+Non-prefixed global variable
#207WP Easy Pay – Payment and Donation form Builder for Square228931,8281k+Non-prefixed global variable
#208WP Express Checkout (Fast Payments via PayPal & Stripe)225916271k+Output is not escaped
#209File Manager227405201m+Unsafe printing function
#210WP Fusion Lite – Marketing Automation and CRM Integration for WordPress222766835k+Nonce verification recommended
#211WP Umbrella: Update Backup Restore & Monitoring2291891670k+Exception output is not escaped
#212NotifSMS – SMS Notifications OTP & 2FA for WordPress & WooCommerce221,3531,4122k+Non-prefixed global variable
#213User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration222871,43220k+Non-prefixed global variable
#214WP-WebAuthn229573962k+Exception output is not escaped
#215WPBITS Addons For Elementor Page Builder229961,3992k+Non-prefixed global variable
#216WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell225,9962,7906k+Text Domain Mismatch
#217WPSSO Core – Complete Schema Markup and Meta Tags221,4074125k+Missing Translators Comment
#218YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports2265443510k+Exception output is not escaped
#219YITH WooCommerce Ajax Search224081,65930k+Non-prefixed global variable
#220ЮKassa для WooCommerce225901689k+Short PHP open tag found
#221Recipe Cards For Your Food Blog from Zip Recipes221,1261,7311k+Non-prefixed global variable
#222Advanced Custom Fields: Extended231,885329100k+Text Domain Mismatch
#223Custom WooCommerce Checkout Fields Editor237551,3862k+Non-prefixed global variable
#224Admin and Site Enhancements (ASE)23136330200k+Nonce verification recommended
#225Advanced Contact form 7 DB237611,95970k+Non-prefixed global variable
#226Advanced Custom Fields (ACF®)232,4561,2182m+Text Domain Mismatch
#227Advanced Product Labels for WooCommerce2392155920k+Text Domain Mismatch
#228AI Engine – The Chatbot, AI Framework & MCP for WordPress23413559100k+error log error log
#229Fullscreen Menu235371,2872k+Non-prefixed global variable
#230Autocomplete Address and Location Picker for WooCommerce236301,2992k+Non-prefixed global variable
#231Autoptimize23288191800k+Output is not escaped
#232B2BKing — Ultimate WooCommerce B2B and Wholesale Plugin — Wholesale Prices, Bulk Order Form & More231,34740910k+Text Domain Mismatch
#233BA Book Everything231,1841,08610k+Output is not escaped
#234Kadence Security – Password, Two Factor Authentication, and Brute Force Protection231,053967700k+Missing Translators Comment
#235Booking calendar, Appointment Booking System231,0791,1254k+Output is not escaped
#236Brave Popup Builder – Popup, Optins, Lead Generation, Survey & Interactive Content2323829420k+error log print r
#237BSK PDF Manager231,5766257k+Text Domain Mismatch
#238BuddyDrive237221,5971k+Non-prefixed global variable
#239Announcement & Notification Banner – Bulletin239301,5762k+Non-prefixed global variable
#240Business Directory Plugin – Easy Listing Directories for WordPress236111,05810k+Non-prefixed global variable
#241Captivate Sync231745571k+Non-prefixed global variable
#242All In One Login — Login Page Security and Customization for WordPress with Google reCAPTCHA, Social Login, Temporary Login, 2FA, and more.237501,35960k+Non-prefixed global variable
#243WPBot – AI ChatBot for Live Support, Lead Generation, AI Services232641,0385k+Non-prefixed global variable
#244Classified Listing – AI-Powered Classified ads & Business Directory231552,0749k+Non-prefixed global variable
#245Content Aware Sidebars – Fastest Widget Area Plugin239931,73830k+Non-prefixed global variable
#246Content Egg – Affiliate Product Importer & Price Comparison231,2311,25710k+Non-prefixed global variable
#247Content Views – Post Grid & Filter, Recent Posts, Category Posts … (Shortcode, Gutenberg Blocks, and Widgets for Elementor)23306587100k+Dynamic hook name
#248CWW Companion233072231k+Output is not escaped
#249Disable Bloat for WordPress & WooCommerce238631,32510k+Non-prefixed global variable
#250DK PDF – WordPress PDF Generator237443353k+Exception output is not escaped