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
#3251Toggle Content811612700file system operations mkdir
#3252Typing Text811516600file system operations mkdir
#3253VS Event List8112598k+Non-prefixed global variable
#3254ShipStation for WooCommerce813440k+Non-prefixed class
#3255Accordion Toggle8217112k+Non-prefixed class
#3256Bulk Menu Edit8249700Direct Query
#3257ForumWP – Forum & Discussion Board8222444800Non-prefixed global variable
#3258Head & Footer Code82115100k+Non-prefixed constant
#3259Image Gallery Block8213103k+wp function not compatible with requires wp
#3260Infobox8215121k+file system operations mkdir
#3261Lazy Load for Videos826379k+Non-prefixed constant
#3262MyBookTable Bookstore by Stormhill Media8216341k+Direct Query
#3263Parallax Slider Block8215121k+file system operations mkdir
#3264Posts and Users Stats82183600Non-prefixed global variable
#3265Regenerate Thumbnails821091m+Direct Query
#3266Simple Page Ordering82119100k+Missing Arg Domain
#3267Image Slider Block8213143k+wp function not compatible with requires wp
#3268Testimonial Block821312500wp function not compatible with requires wp
#3269WebP Conversion821333k+Non-prefixed global variable
#3270Easy Booking – WooCommerce Booking & Reservation Plugin8259664k+Non-prefixed global variable
#3271Check Conflicts8336121k+Missing Arg Domain
#3272Export emails8387500Direct Query
#3273PDF Generator for WordPress83101981k+Non-prefixed global variable
#3274Popup builder with Gamification, Multi-Step Popups, Page-Level Targeting, and WooCommerce Triggers8327360k+Direct Query
#3275Fixed Widget and Sticky Elements for WordPress8371380k+Non-prefixed global variable
#3276Relevanssi Light83323600Direct Query
#3277Lightweight Sidebar Manager83133680k+Non-prefixed class
#3278WPC AJAX Search for WooCommerce831291k+Nonce verification recommended
#3279Wbcom Designs – Birthday Widget for BuddyPress8416313400Text Domain Mismatch
#3280Cachify849369k+Non-prefixed global variable
#3281WP All Import – Import Add-On for ACF8434650k+Non-prefixed global variable
#3282FlippingBook841462k+Missing Translators Comment
#3283JWT Authentication for WP REST API84274160k+wp function not compatible with requires wp
#3284Public Post Preview Configurator8414610k+Non Singular String Literal Domain
#3285Timeline Module for Divi8416113k+Text Domain Mismatch
#3286Ultra Addons Lite for Elementor843018700wp function not compatible with requires wp
#3287WPC Grouped Product for WooCommerce84453k+Nonce verification recommended
#3288Attendance Manager859321800date date
#3289Auto Subpage Menu8556800Database parameter is not escaped
#3290FormGent – Next-Gen AI Form Builder for WordPress with Multi-Step, Quizzes, Payments & More85113151k+Non-prefixed global variable
#3291GazChap's WooCommerce Auto Category Product Thumbnails85481k+trademarked term
#3292HSTS Ready853113k+Input is not validated
#3293Pronamic Google Maps8524181k+Non-prefixed global variable
#3294Real Thumbnail Generator: Efficient regeneration of thumbnails in all sizes855581k+Non-prefixed constant
#3295Salt Shaker8515136k+Interpolated SQL is not prepared
#3296Save and Continue Link Recovery for Gravity Forms85165400Text Domain Mismatch
#3297Vanilla PDF Embed85833k+parse url parse url
#3298Boxtal – Shipping solution863929k+Non-prefixed global variable
#3299Counters Block – Animated Number Counters, Stats & Dynamic KPIs865143k+Missing direct file access protection
#3300Getnet Argentina para WooCommerce86149500Text Domain Mismatch