[wp-trac] [WordPress Trac] #54385: Fatal error uploading media on PHP8
WordPress Trac
noreply at wordpress.org
Fri Nov 5 21:05:42 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:
--------------------------+---------------------
Changes (by TobiasBg):
* keywords: => needs-patch
* version: => 2.5
* component: General => Media
* milestone: Awaiting Review => 5.9
Comment:
Welcome to the WordPress Trac and thanks for your report!
It looks like this can happen if the `wp_exif_frac2dec()` function returns
a string, instead of a number. According to its documentation, it
shouldn't be doing that, but does in a few edge cases.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54385#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list