WordPress includes several settings that you can use to help debug the main application, themes, your own custom code, and more.
Generally, these settings are intended for use by developers and should not be used on “live” sites. However, you can also use them in certain scenarios to help troubleshoot issues you may be experiencing with third-party code, such as plugins or themes.
To enable debugging mode in WordPress, follow these steps:
- Open your wp-config.php file located in WordPress root directory
- Search for the following code
and make it
Applying the above change your WordPress displays all PHP errors, notices, and warnings. This will help easy to find out what causes a problem on site. When you are done revert back the change to stop showing those messages.
If you are interest you can read inside WordPress about debugging here.