WordPress.PHP.DevelopmentFunctions.error_log_set_error_handler

error log set error handler

Development or debugging behavior appears in code that may run in production.

medium weight

Why It Shows Up

The scan found logging, debugging, path disclosure, `phpinfo()`, error-reporting changes, or similar development-oriented functions.

Why It Matters

Debug output can leak paths, configuration, request data, stack details, or sensitive runtime information.

How to Fix

  • Remove temporary debugging calls before release.
  • If logging is required, guard it with `WP_DEBUG` or a plugin setting intended for administrators.
  • Never show debug details to unauthenticated visitors or normal front-end users.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#1Intercom060716k+Non-prefixed function
#2Live Shopping & Shoppable Videos For WooCommerce079174400Non-prefixed global variable
#3Plugin Check (PCP)012814010k+Non-prefixed global variable
#4Themify Builder95,3342,1715k+Text Domain Mismatch
#5JetBackup – Backup, Restore & Migrate101,567156200k+Exception output is not escaped
#6404 Solution155821,53210k+Non-prefixed class
#7Efí Bank17886553300Exception output is not escaped
#8Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution181,229923100k+Exception output is not escaped
#9Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,993892100k+Exception output is not escaped
#10Razorpay Payment Button Plugin19486982k+Exception output is not escaped
#11Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)195303753m+Missing Translators Comment
#12SendPress Newsletters192,2931,4221k+Output is not escaped
#13WP Email Template193443452k+Exception output is not escaped
#14Broadstreet20434273800Output is not escaped
#15Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More202,8781,9881m+Non-prefixed global variable
#16EventPrime – Events Calendar, Bookings, Tickets & AI208464,2247k+Non-prefixed global variable
#17Pix por Piggly (para Woocommerce)205471954k+Exception output is not escaped
#18Razorpay Payment Button Elementor Plugin20479621k+Exception output is not escaped
#19WP Compress – Instant Performance & Speed Optimization204,2923,69110k+Non Singular String Literal Domain
#20WP Minify Fix20306380800Output is not escaped
#21Backup Migration219991,08180k+Non-prefixed global variable
#22Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots211,6732,18010k+Direct Query
#23Captcha Them All213003235k+Output is not escaped
#24Event Espresso – Event Registration & Ticketing Sales2112,7102,136600Text Domain Mismatch
#25FileOrganizer – WordPress File Manager21549261200k+unlink unlink
#26JCH Optimize212,2922774k+Output is not escaped
#27Razorpay for Gravity Forms2141147500Exception output is not escaped
#28Razorpay Quick Payments21399632k+Exception output is not escaped
#29Smart Forms – when you need more than just a contact form217765745k+Output is not escaped
#30Uncanny Automator – AI + Automation for WordPress | AI Agent, AI Page Builder, Free AI Usage Included211,0813,14740k+Direct Query
#31UPC/EAN/GTIN Barcode Generator/Importer21776311500Exception output is not escaped
#32Buckaroo Payments for WooCommerce216923512k+Exception output is not escaped
#33WebP Express21160427300k+Non-prefixed global variable
#34Razorpay for WooCommerce21980864100k+Non-prefixed function
#35Wordfence Security – Firewall, Malware Scan, and Login Security211,8933,2925m+Output is not escaped
#36WP Import Export Lite2155633140k+Exception output is not escaped
#37WP phpMyAdmin214,5286,43540k+Missing Arg Domain
#38wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin211,8291,53460k+Output is not escaped
#39Backup Bolt225801,313800Non-prefixed global variable
#40Better WordPress Minify224124847k+Non Singular String Literal Domain
#41CartFlows – Funnel Builder & Checkout Plugin for WooCommerce22459710200k+Non-prefixed global variable
#42Clearfy Cache – WordPress optimization plugin, Minify HTML, CSS & JS, Defer222,8541,26940k+Text Domain Mismatch
#43Code Profiler – WordPress Performance Profiling and Debugging Made Easy222654008k+Non-prefixed global variable
#44Database Access with Adminer229832,5531k+Non-prefixed global variable
#45Directorist: AI-Powered Business Directory, Listings & Classified Ads224862,32720k+Non-prefixed global variable
#46File Manager Pro – Filester22584411100k+Request data is not unslashed
#47Search Atlas SEO – OTTO AI SEO Automation for WordPress221,4032,8788k+Output is not escaped
#48Packeta228013418k+Exception output is not escaped
#49Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App221,6022,342300k+Non-prefixed global variable
#50PageSpeed Ninja – Cache, Minify, Defer CSS JavaScript, Critical CSS, Optimize Images, Convert WebP229844075k+Unsafe printing function