2

i try to insert use this code below to wp-config.php before /* That's all, stop editing! Happy blogging. */ to show wordpress error log but still nothing anyone help me pls?

// Enable WP_DEBUG mode
define('WP_DEBUG', true);

// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);

// Disable display of errors and warnings 
define('WP_DEBUG_DISPLAY', false);

@ini_set('display_errors',0);
10
  • 2
    You can add ini_set('log_errors', 1); and check Commented Feb 20, 2018 at 6:33
  • no it still not working Commented Feb 20, 2018 at 6:36
  • 2
    Check your folder permissions first.Also, be sure about chmod ing the folders correctly, e.g. wordpress needs to be able to have write access to that folder , Commented Feb 20, 2018 at 6:36
  • i run in my local machine using wampserver Commented Feb 20, 2018 at 6:39
  • 1
    Could you please update the WP_DEBUG_DISPLAY constant to true in wp-config.php? This will help us display errors directly on the page for debugging purposes. Please remember to revert it to false before deploying to production. Commented 2 days ago

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.