[wp-trac] [WordPress Trac] #47325: Can't display fatal errors on WordPress 5.2

WordPress Trac noreply at wordpress.org
Mon May 20 13:48:27 UTC 2019


#47325: Can't display fatal errors on WordPress 5.2
--------------------------+-----------------------------
 Reporter:  vipestudio    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi, guys, I am a WP dev,covering 100+ websites.

 Since WP 5.2 update came, I can't display or log the fatal errors.

 The only message I get is  "The site is experiencing technical
 difficulties. Please check your site admin email inbox for instructions."

 error_log only writes the notices and warnings, but fatal errors remain
 hidden. I was forced to downgrade a few sites just to see the fatal
 errors.

 Same happens using wp-cli !

 Tried this as well

 define( 'WP_DEBUG', true );
 define( 'WP_DEBUG_LOG', true );
 define( 'WP_DEBUG_DISPLAY', true );
 ini_set( 'display_errors', 1 );

 it only shows the warnings, not the fatal errors.

 Please help!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47325>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list