WordPress.PHP.DevelopmentFunctions.error_log_debug_print_backtrace

error log debug print backtrace

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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1Seamless Donations is Sunset216005142k+Text Domain Mismatch
#2Form Maker by 10Web – Mobile-Friendly Drag & Drop Contact Form Builder234,7461,27930k+Non Singular String Literal Domain
#3Smart Slider 323261268800k+Non-prefixed global variable
#4teachPress237441,5872k+SQL query is not prepared
#5Appointment Booking Calendar — Simply Schedule Appointments Booking Plugin2596073860k+Text Domain Mismatch
#6W3 Total Cache256171,345900k+Non-prefixed global variable
#7Maven Algolia28148896k+Non Singular String Literal Domain
#8DEPRECATED – Shipmondo – A complete shipping solution for WooCommerce321661195k+Output is not escaped