[wp-trac] [WordPress Trac] #52226: PHP 8 issue: Fatal error when error_reporting is disabled

WordPress Trac noreply at wordpress.org
Thu Jan 7 05:20:15 UTC 2021


#52226: PHP 8 issue: Fatal error when error_reporting is disabled
--------------------------+------------------------------
 Reporter:  fijisunshine  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Security      |     Version:  5.6
 Severity:  normal        |  Resolution:
 Keywords:  php8          |     Focuses:
--------------------------+------------------------------

Comment (by fijisunshine):

 Thank you all for your excellent feedback.

 FYI I tried @peterwilsoncc's suggestion in wp-config.php and I still get
 the same fatal error in php 8.0. As he said, "...the first WordPress call
 to error_reporting() occurs before wp-config.php is loaded..."

 Thanks again

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52226#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list