phpinfo(); -> display_errors = Off with define(‘WP_DEBUG’, true);
-
I’ve been writing a function for a theme, and I obviously wrote an error, but I can’t get php to print the error.
I’ve placed define(‘WP_DEBUG’, true); in the wp-config.php file.
I’ve changed my php.ini file to error_reporting = E_ALL and display_errors = On
I placed phpinfo(); in functions.php and it still shows display_errors = Off.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘phpinfo(); -> display_errors = Off with define(‘WP_DEBUG’, true);’ is closed to new replies.