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
#2751WP Cron Cleaner425138500Unsafe printing function
#2752Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered)422,5831,82310k+Text Domain Mismatch
#2753WP Fingerprint4234479k+Direct Query
#2754WP Mail Log42422910k+Text Domain Mismatch
#2755WP Post Redirect4229173k+Unsafe printing function
#2756Advanced All in One Admin Search by WP Spotlight4225251k+Missing Version
#2757Admin Menu Tree Page View43176910k+Nonce verification recommended
#2758Customize Snapshots43942500Nonce verification recommended
#2759Database Addon For WPForms ( wpforms entries ) – WPFormsDB43175320k+Nonce verification recommended
#2760F4 Total Stock Value for WooCommerce4327121k+Output is not escaped
#2761Floating Awesome Button (Sticky Button, Popup, Toast) & 200+ Website Custom Interactive Element4366109800Missing direct file access protection
#2762Hash Form – Drag & Drop Form Builder4392734k+Non-prefixed global variable
#2763Live Copy Paste for Elementor – Cross Domain Copy Paste & Page Duplicator4312327k+Request data is not unslashed
#2764Pods Gravity Forms Add-On43791k+Missing nonce verification
#2765Post title marquee scroll4343251k+Output is not escaped
#2766Qodax Checkout Manager – Checkout Field Editor for WooCommerce431727400Interpolated SQL is not prepared
#2767SQL Chart Builder431239600Non-prefixed global variable
#2768Term Management Tools4392610k+Non-prefixed hook name
#2769Terms Order WP – Categories And Taxonomies Order Plugin431247900Non-prefixed global variable
#2770Uber reCaptcha43129451k+Text Domain Mismatch
#2771Ultimate Member Widgets for Elementor – Login Form, Register Form & User Directory4315102400Non-prefixed namespace
#2772User Role Editor43117145700k+Output is not escaped
#2773User Session Control433121700Output is not escaped
#2774VA Simple Expires432531800Output is not escaped
#2775Checkout Field Manager (Checkout Manager) for WooCommerce4316115490k+Non-prefixed global variable
#2776WP Hotel Booking WPML Support431052400Direct Query
#2777Creative Addons for Elementor4463100800Missing Arg Domain
#2778Debug Bar Console442391k+Missing Arg Domain
#2779ELEX WooCommerce Role Based Pricing442131962k+Non-prefixed global variable
#2780Github Embed4418351k+Non-prefixed global variable
#2781I Order Terms4440241k+Output is not escaped
#2782Narrative Publisher4428371k+Text Domain Mismatch
#2783Simple Full Screen Background Image44231310k+Output is not escaped
#2784Smart Archive Page Remove448257k+Output is not escaped
#2785Smart Attachment Page Remove44823900Output is not escaped
#2786UiChemy — Figma Converter for Elementor, Gutenberg and Bricks447859k+Nonce verification recommended
#2787Calculadora de Frete e Campos Checkout para o Brasil44191665k+Missing nonce verification
#2788WP Club Manager – WordPress Sports Club Plugin44171682600Non-prefixed global variable
#2789Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro452611720k+Non-prefixed hook name
#2790Extended Post Status4527271k+Output is not escaped
#2791Icons Font Loader – Load Web Fonts and Icon Libraries4547332k+Text Domain Mismatch
#2792Inazo's flamingo automatically delete old messages4533204k+Output is not escaped
#2793Evergreen Countdown Timer45193352k+wp function not compatible with requires wp
#2794JetHost Total Care – Security & Enhancements451085800Direct Query
#2795Jetpack Search459254265k+Text Domain Mismatch
#2796Popup Box – Easily Create WordPress Popups4571517k+Non-prefixed global variable
#2797Product Visibility by User Role for WooCommerce4536356k+Missing Translators Comment
#2798Related Posts By PickPlugins454844k+Non-prefixed global variable
#2799Super Blank451315610k+Missing direct file access protection
#2800ARI Stream Quiz – WordPress Quizzes Builder46212392k+Non-prefixed global variable