[wp-trac] [WordPress Trac] #63529: Fatal Error Media Upload MP3 PHP 8.2 when metadata contains list
WordPress Trac
noreply at wordpress.org
Wed Jun 4 16:02:44 UTC 2025
#63529: Fatal Error Media Upload MP3 PHP 8.2 when metadata contains list
--------------------------+------------------------------
Reporter: sllimrovert | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.8
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by ankitkumarshah):
I was able to successfully reproduce this issue on my test environment.
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.28
- Server: nginx/1.27.4
=== Screenshot:
[[Image(https://i.postimg.cc/BQ5hn9Sv/image.png)]]
As far as from the error stack and as also mentioned in ticket description
it occurs because when `wp_add_id3_tag_data()` processes the ID3 metadata
and passes array values to `wp_kses_post()`, which expects string input
only.
I’d be happy to look into this further.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63529#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list