WordPress.PHP.DevelopmentFunctions.error_log_print_r

error log print r

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
#1301Unveil Lazy Load91262k+error log error log
#1302Editor Block Outline92251k+Not In Footer
#1303Revision Manager TMC9240141k+Text Domain Mismatch
#1304AI Image Alt Text Generator947600Nonce verification recommended
#1305MyParcel942848k+Non-prefixed global variable
#1306Zotabox – 20+ Promotional Sales tools to boost your subscribers and sales94128500wp function not compatible with requires wp
#1307Booster Pack for Divi951792500Text Domain Mismatch
#1308Bulk Media Register958358k+Non-prefixed hook name
#1309No category parents95546k+Missing direct file access protection
#1310Protect Login952619600Missing direct file access protection
#1311ACF to WP-API96115400wp function not compatible with requires wp
#1312AutoCEP96781k+error log error log
#1313Bulk Datetime Change963186k+Non-prefixed global variable
#1314Disable Media Pages9681010k+Missing Translators Comment
#1315GA Admin Taxonomy Search9672400Missing direct file access protection
#1316Gravity Forms Klaviyo Add-On9628151k+Text Domain Mismatch
#1317GF Upload to Email Attachment9665600error log print r
#1318ProveSource Social Proof962672k+wp function not compatible with requires wp
#1319Display Eventbrite Events96313k+error log print r
#1320Exif Caption97325600Non-prefixed global variable
#1321Organize Media Folder973352k+Direct Query
#1322Angie – Agentic AI (Beta)981770k+Discouraged PHP function
#1323Extra Product Options For WooCommerce | Custom Product Addons and Fields981830k+Non-prefixed class