WordPress.PHP.DevelopmentFunctions.error_log_trigger_error

error log trigger error

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
#501Product Category Slider for WooCommerce6821104800Non-prefixed hook name
#502In-feed ads for Google AdSense7020207k+Non-prefixed global variable
#503Multipart robots.txt editor701981k+Output is not escaped
#504Post My CF7 Form74211682k+Non-prefixed global variable
#505WP-HTML-Compression757221k+Input is not sanitized
#506New Relic Reporting for WordPress79416600Nonce verification recommended
#507WP Referral Code791819600Missing direct file access protection
#508Joinchat – Enhanced "click to chat"811832700k+wp function not compatible with requires wp
#509MyBookTable Bookstore by Stormhill Media8215331k+Direct Query
#510Flexible Content Extended for Advanced Custom Fields83114700Output is not escaped
#511Cachify849369k+Non-prefixed global variable
#512WP All Import – Import Add-On for ACF8434640k+Non-prefixed global variable
#513Mediavine Control Panel89303010k+Text Domain Mismatch
#514WP All Export – Product Export Add-On for WooCommerce90142610k+Non-prefixed hook name
#515Advanced Cron Manager – debug & control91309030k+Non-prefixed global variable
#516Table Field Add-on for ACF and SCF929350k+Text Domain Mismatch
#517ACF Options For Polylang9492310k+Non-prefixed constant
#518Display Eventbrite Events96313k+error log print r