Remove the following line of line of code:
define('WP_DEBUG', false); //could also have true
Add the following snippet of code to your website:
if ( isset( $_GET['debug'] ) && 'true' == $_GET['debug'] ) {
define( 'WP_DEBUG', true );
}
Save the file and go to your website:go to the URL and the add following parameter to the end of the URL.
?debug=true
example: https://example.com/?debug=trueYou will see all website PHP errors on WordPress.
Signing off!
Justin