How to Enable WordPress Debug Mode
In the root directory of your WordPress installation, locate the wp-config file.
Find:
define('WP_DEBUG', false);
Change it to:
define('WP_DEBUG', true);
This enables WordPress debug mode and displays PHP warnings, notices, and errors.
For security and performance reasons, do not leave debug mode enabled after troubleshooting is complete.