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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1751Combo Offers WooCommerce3938892k+Missing
#1752Eurobank WooCommerce Payment Gateway3962632k+Non Singular String Literal Domain
#1753WPC Product Bundles for WooCommerce393314130k+Missing Unslash
#1754Wallet for WooCommerce393650320k+Non Prefixed Hookname Found
#1755WooCommerce Product Dependencies3944603k+Missing
#1756WP Accessibility3919910460k+Unsafe Printing Function
#1757WP Attachments3949443k+Output Not Escaped
#1758WPEPP – Essential Security, Password Protect & Login Page Customizer3934293k+Unsupported Identifier Placeholder
#1759WP Limit Login Attempts39266710k+Direct Query
#1760WP Most Popular3950352k+Output Not Escaped
#1761WP Server Health Stats39663110k+Output Not Escaped
#1762Categories to Tags Converter39863850k+Output Not Escaped
#1763WPS Limit Login3915276100k+Output Not Escaped
#1764YITH Custom Login3986336k+Output Not Escaped
#1765Zotpress39804032k+Non Prefixed Variable Found
#1766ACF Theme Code for Advanced Custom Fields404784010k+Output Not Escaped
#1767Admin Search4031471k+Output Not Escaped
#1768Advanced Country Blocker4023772k+Exception Not Escaped
#1769Advanced IP Blocker4094442k+Exception Not Escaped
#1770AJAX Thumbnail Rebuild40381430k+Unsafe Printing Function
#1771All-in-One WP Migration and Backup4028615m+Missing
#1772Allow Multiple Accounts40115199k+Non Singular String Literal Domain
#1773Alt Magic: AI Image Alt Text Generator for WP & Image Rename40551181k+Direct Query
#1774Attachment Importer4024763k+Input Not Sanitized
#1775Auto Focus Keyword for SEO4012392k+Input Not Validated
#1776Autocomplete Google Address4022672k+Recommended
#1777AutoConvert Greeklish Permalinks401161330k+Text Domain Mismatch
#1778AxiaChat AI – Free AI Chatbot (Answers Customers Automatically)4021352k+Interpolated Not Prepared
#1779Better Internal Link Search4023481k+strip tags strip tags
#1780Broken Link Notifier40111931k+Non Prefixed Variable Found
#1781Bulk Delete Comments4016615k+Direct Query
#1782Bulk Move4085449k+Unsafe Printing Function
#1783Database Addon for Contact Form 7 – CFDB7403556600k+Recommended
#1784Country State City Dropdown CF74035545k+Direct Query
#1785Coupon Generator for WooCommerce40392810k+Unsafe Printing Function
#1786Cron Logger4049361k+Output Not Escaped
#1787Delete Me40116177k+Output Not Escaped
#1788Easy Image Collage4096184k+Unsafe Printing Function
#1789ElementsKit Elementor Addons – Advanced Widgets & Templates Addons for Elementor40723481m+Non Prefixed Variable Found
#1790Eventer4061551k+Output Not Escaped
#1791FameTheme Demo Importer4087430k+Recommended
#1792Flamingo4015228800k+Recommended
#1793Product Enquiry for WooCommerce4057413k+Output Not Escaped
#1794Hostinger Reach – AI-Powered Email Marketing for WordPress409461m+Direct Query
#1795Image Alt Text4079979k+Non Singular String Literal Domain
#1796Internal Linking of Related Contents40714471k+Output Not Escaped
#1797JSM Show Post Metadata40156610k+Recommended
#1798JSM Show User Metadata4014643k+Recommended
#1799La Sentinelle antispam4088463k+Output Not Escaped
#1800Logbook4033592k+Recommended