• Hello,

    I created a log file “php-errors.log”

    then I edited the “wp-config.php file by adding:

    ini_set('log_errors', 'On');
    ini_set('error_log', '/****/****/php-errors.log');

    “****=the path”

    but didn’t get any error logs..

    So I edited the “wp-config.php by adding:

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

    and got the logs, any idea why it didn’t work with php-errors.log?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘php-errors.log not working!’ is closed to new replies.