Set WP_DEBUG to true

This is step 5 of our onboarding guide to becoming a reviewer

To be able to test themes, we need to see PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. errors, warnings or notices. To do this, we need to turn on the WordPress debug mode.

Locate your wp-config.php file in our WordPress folder. Always create a backup before making any changes.

Inside the wp-config file, locate the WP_DEBUG constant and make sure that it is set to true.

If the constant is not present in your file, add the following code:

define('WP_DEBUG', true);

Don’t forget to save the changes.

Read more about debugging WordPress:

https://wordpress.org/support/article/debugging-in-wordpress/

Last updated: