WordPress not writing error.log


my local development WordPress install on ServerPress is not writing error logs. I made changes to my wp-config.php file to enable error log writing for WordPress, and also tried editing the php.ini file for xampplite to try and enable error tracking, but still I could not get any logs going, so I reverted that to it’s original settings. My website currently displays “There has been a critical error on your website.” in the front-end. I added the following code before the define( ‘DB_NAME’, ‘blahblahblah’); configuration:

/**Enable WP Debug */
define( 'WP_DEBUG', true );

/** Enable WP Debug Log */
define( 'WP_DEBUG_LOG', true );

/**Display debug on HTML page*/
define( 'WP_DEBUG_DISPLAY', false );
, chromechris 2 years 2020-08-23T12:10:21-05:00 0 Answers 71 views 0

Leave an answer