debug wordpress

modify wp-config.php

check /wp-content/debug.log

define(‘WP_DEBUG’, true); // enable debug.
if (WP_DEBUG) { // only if enabled
define(‘WP_DEBUG_LOG’, true); // write to debug.log
define(‘WP_DEBUG_DISPLAY’, false); // do not show on browser
@ini_set(‘display_errors’,0); //do not show on browser
}

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.