[wp-trac] [WordPress Trac] #51729: PHP 8.0 issue

WordPress Trac noreply at wordpress.org
Sun Nov 8 16:50:53 UTC 2020


#51729: PHP 8.0 issue
--------------------------+------------------------------
 Reporter:  BackuPs       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  php8          |     Focuses:
--------------------------+------------------------------

Comment (by ayeshrajans):

 Hi @BackuPs - Looking at the backtrace, it looks like a problematic theme
 filter/hook is the cause of this. This is a fatal error in PHP 8.0 because
 [https://php.watch/versions/8.0/internal-function-exceptions internal
 functions throw TypeError exceptions in PHP 8.0], but the same code should
 emit a warning; I presume that warning was silenced from error handler or
 PHP settings.

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


More information about the wp-trac mailing list