[wp-trac] [WordPress Trac] #59573: warning: trying to access array offset on value of type bool in wp-includes/media.php
WordPress Trac
noreply at wordpress.org
Wed Apr 17 16:11:36 UTC 2024
#59573: warning: trying to access array offset on value of type bool in wp-
includes/media.php
-------------------------------+------------------------------
Reporter: androidforlife | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.3.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by sabernhardt):
* keywords: => reporter-feedback
* status: closed => reopened
* resolution: invalid =>
* milestone: => Awaiting Review
Comment:
I expect the code in the description suggested a revision. The original
comments were in German.
The `$size` condition is still flawed because that parameter can be a
string (and is 'thumbnail' by default).
@androidforlife I should have asked for a PHP stack trace months ago to
know what caused the error. Do you have a way to reproduce it now?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59573#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list