How do I enable error display for WordPress debugging?
Последна промяна: 15.10.2025 09:03
Custom errors in WordPress scripts are hidden by default for security. Enable error display with these steps:
- Edit wp-config.php: Set
define('WP_DEBUG', true);in wp-config.php. - Update PHP Settings: Go to Advanced > PHP Settings (https://us.cloudlogin.co/advanced/php/), select Edit php.ini, and set
display_errors = On
. - Wait: Allow 15 minutes for changes to take effect.
- Debug: Check the page for errors or disable plugins by renaming their folders in /wp-content/plugins/.
- Learn More: See https://wordpress.org/support/article/debugging-in-wordpress/.