Out of the box, WordPress will have the debug mode deactivated. That means, in cases where something is not working correctly or in cases where Blank screens are displayed, we don't have any information about what's going on.
WordPress allows us to enable the debug mode, which will provide useful details about different errors that might appear.
Enable WordPress debug mode with a plugin
Go to WordPress Dashboard → Plugins → Add new
Use the search field to search for
Install and Activate the WP Debugging plugin
Go to Tools → WP Debugging
Ensure that the following options are checked:
Set WP_DEBUG to true.
Set WP_DEBUG_DISPLAY to false, default is true.
Click on the Save Changes button.
With the WordPress debug mode enabled, all the errors will be displayed (with additional information in Divi → Support Center → Logs.
Enable WordPress debug mode without a plugin
Using your host's File Manager app or by installing the Advanced File Manager plugin, edit the
wp-config.phpfile located in the root folder of the WordPress installation.
wp-config.phpfile find this line of code:
Replace that line with the following lines of code:
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Save the file.
The WordPress will log any errors in the
debug.log file, which will be created in the
Also, all the information from the
debug.log file will be displayed in Divi → Support Center → Logs section.