• I have 500 internal error due to my current theme and want to debug.Debug is not working on server I have addded following code in wp-config file.

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);
    @ini_set(‘display_errors’,0);

    But, debug.log file is not generated auto. I have created it manually but there is no log generated in it.

Viewing 1 replies (of 1 total)
  • Hi Pavan,

    Please check inside of the wp-content folder for the debug log. If it’s not throwing errors there, try looking into the web server’s error logs for more information. If the information there is not detailed enough I would asking your hosting provider to enable xdebug on the site.

Viewing 1 replies (of 1 total)
  • The topic ‘Debug Not working’ is closed to new replies.