Enabling WP_DEBUG


Enabling the WP_DEBUG function will notify you that something isn’t functioning correctly. Steps on how to enable WP_DEBUG are below:

First: Go into your directory that contains WordPress:

$ cd /usr/www/virtual/sample/www.sample.com/

Second: Now that you are in the right directory for WordPress. Please edit the PHP file called wp-config.

$ pico wp-config.php

Third: Look for the code below:

* For developers: WordPress debugging mode.
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
define(‘WP_DEBUG’, false);


Fourth: Please edit the WP_DEBUG: 


define(‘WP_DEBUG’, false);


define(‘WP_DEBUG’, true);


Finally: Save the wp-config.php



Related Articles

  • WordPress security tips

      WordPress is one of the most used application to post content on the internet.  WordPress is an open source platform where people have been using it free of charge,...
  • WordPress Security Tips

    Introduction While WordPress is a great tool to use to manage and update your website, it’s also a frequent target for hackers or other users with malicious intent- this makes...
  • WordPress: Set up Plugins

    Installing a Plugin using WordPress Dashboard    WordPress is an excellent source to help benefit your website. Since WordPress is a free and open source application, its features are also...
  • How to Enable Automatic Background Updates for WordPress Core

    On WordPress 3.7+ you can help remove the stress of outdated WordPress sites that are susceptible to hacking. To do this just simply enable Automatic Background Updates. Turning on Automatic...