[wp-trac] [WordPress Trac] #54385: Fatal error uploading media on PHP8

WordPress Trac noreply at wordpress.org
Sun Nov 7 20:39:39 UTC 2021


#54385: Fatal error uploading media on PHP8
--------------------------+---------------------
 Reporter:  stevegs       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.9
Component:  Media         |     Version:  2.5
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------

Comment (by stevegs):

 The strange thing about this is only **some** EXIF files cause the
 problem, but it seems no JFIF file does so.

 I've generally found PHP8 is a lot more strict (especially regarding
 typedefs or unexpected nulls) than its predecessor, having found many
 similar errors in some plugins (resolved by updating, re-writing or
 deleting).  Hope this has been helpful.

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


More information about the wp-trac mailing list