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
#551Kognetiks Chatbot for WordPress246511,486600Non-prefixed global variable
#552Church Admin241,5544,207900Direct Query
#553CleanTalk Anti-Spam. Spam Firewall & Bot protection248181,092200k+Missing nonce verification
#554Smart Online Order for Clover241,7461,2461k+Text Domain Mismatch
#555CM Pop-Up – Create engaging popups to capture attention and boost interaction244664088k+Output is not escaped
#556CMP – Coming Soon & Maintenance Plugin by NiteoThemes249491,336200k+Non-prefixed global variable
#557Complianz – GDPR/CCPA Cookie Consent244874031m+Missing Arg Domain
#558RepairBuddy – Repair Shop CRM & Booking Plugin for WordPress248283,665500Request data is not unslashed
#559CF7 Apps – Honeypot, Database, Redirection, Webhook, and Addons for Contact Form 7241,0341,396300k+Non-prefixed global variable
#560Contact Form by Supsystic241,9136336k+Non Singular String Literal Domain
#561Contact Form to DB by BestWebSoft – Messages Database Plugin For WordPress245293571k+Text Domain Mismatch
#562Contact Widgets For Elementor all the contact links you need in one place249081,188500Non-prefixed global variable
#563WPBot – ChatBot Conversational Forms241,2541,2262k+Text Domain Mismatch
#564CRM Perks Forms – WordPress Form Builder248195771k+Output is not escaped
#565Custom CSS247036571k+Output is not escaped
#566Custom Twitter Feeds – A Tweets Widget or X Feed Widget24446922100k+Output is not escaped
#567WP Customer Area243,30694110k+Text Domain Mismatch
#568Customer Reviews for WooCommerce242,2022,44580k+Output is not escaped
#569Defender Security – Malware Scanner, Login Security & Firewall2454759480k+Non-prefixed namespace
#570WP Comment Cleaner – Delete All Comments, Disable Comments, Bulk Delete & Remove Comments245871,43020k+Non-prefixed global variable
#571WP Delicious – Recipe Plugin for Food Bloggers (formerly Delicious Recipes)248452,6434k+Non-prefixed global variable
#572Democracy Poll243874367k+Short PHP open tag found
#573Deployer for Git245411,336500Non-prefixed global variable
#574DFX Automatic Role Changer for WooCommerce245971,308400Non-prefixed global variable
#575Digital License Manager24295670800Non-prefixed hook name
#576Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification242334411k+Non-prefixed hook name
#577Doubly – Cross Domain Copy Paste for WordPress242525510k+Output is not escaped
#578Drop Shadow Boxes246421,2904k+Non-prefixed global variable
#579DSGVO All in one for WP24751,63720k+Non-prefixed global variable
#580Dynamic Widgets2463181210k+Non-prefixed global variable
#581Easy Form Builder by WhiteStudio — Drag & Drop Form Builder241943811k+Nonce verification recommended
#582Easy Invoice – Invoice Generator, PDF Quotes & Payments241,3662,013500Non-prefixed global variable
#583Easy Modal245642997k+Unsafe printing function
#584E-cab Taxi Booking Manager for Woocommerce243561,4622k+Non-prefixed global variable
#585eCommerce Product Catalog Plugin for WordPress246213,1777k+Non-prefixed function
#586ELEX WooCommerce Request a Quote243982662k+Request data is not unslashed
#587Email Subscribers & Newsletters – Email Marketing, Post Notifications & Newsletter Plugin for WordPress246521,49560k+Non-prefixed hook name
#588EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents247111,588100k+Output is not escaped
#589Enable Media Replace24212276600k+Output is not escaped
#590Conversios: Google Analytics (GA4), Google Ads, Conversion and Analytics Tracking for Multi-Channels241121,49710k+Non-prefixed global variable
#591Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns24120684200k+Non-prefixed global variable
#592Event Tickets and Registration243,4094,21790k+Non-prefixed global variable
#593Export WordPress Pages to Static HTML & PDF — Static Site Export245093044k+Text Domain Mismatch
#594Etsy Integration For WooCommerce241,2464,643900Non-prefixed global variable
#595F12 Profiler24282451500Direct Query
#596Fast Velocity Minify2428225640k+Unsafe printing function
#597Fattura2424312333400Output is not escaped
#598Featured Image from URL (FIFU)241,65441870k+Non Singular String Literal Domain
#599Featured Post with thumbnail24158122400Output is not escaped
#600FeedWordPress244963199k+Missing Arg Domain