• If I add the code below to the wp-config file where can I check for errors?

    error_reporting(E_ALL);
    ini_set( 'display_errors','1');

Viewing 1 replies (of 1 total)
  • Those are “plain” PHP error directives, and with them, errors will be dumped to the browser and not logged.

    Use

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );

    in wp-config.php and the errors will be in the debug.log file in wp-content.

    Or, add this

    define( 'WP_DEBUG_DISPLAY', true);

    to wp-config.php to log and dump them to the browser.

    See https://codex.www.ads-software.com/WP_DEBUG

Viewing 1 replies (of 1 total)
  • The topic ‘Where are the errors? error_reporting(E_ALL); ini_set( 'display_errors','1');’ is closed to new replies.