You can enable the WordPress debugging by adding the WP_DEBUG as true in wp-config.php
from your root directory.
Open wp-config.php file from your root directory and copy paste below code. It is assumed to be false by default and is usually set to true in the wp-config.php file on development site.
1 2 3 4 5 6 7 | /** * Enable debugging in WordPress site. */ define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', true); @ini_set('display_errors', E_ALL); |
Note: I am not recommended to use WP_DEBUG
on any WordPress live sites; they are meant for local testing and staging installs.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.