[wp-trac] [WordPress Trac] #54943: PHP Warnings on PHP >= 8
WordPress Trac
noreply at wordpress.org
Thu Jan 27 08:03:50 UTC 2022
#54943: PHP Warnings on PHP >= 8
-------------------------+-----------------------------
Reporter: fhwebdesign | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.9
Severity: normal | Keywords: needs-patch
Focuses: |
-------------------------+-----------------------------
While testing my website on PHP8.0 (in my example opening the blog page),
I noticed the following two warnings in the error log:
{{{
[27-Jan-2022 08:56:34] WARNING: [pool xxx] child 1031078 said into stderr:
"PHP message: PHP Warning: Trying to access array offset on value of type
bool in /var/www/xxx/wp-includes/media.php on line 779"
[27-Jan-2022 08:56:34] WARNING: [pool xxx] child 1031078 said into stderr:
"PHP message: PHP Warning: Trying to access array offset on value of type
bool in /var/www/xxx/wp-includes/media.php on line 785"
}}}
I also noticed with a fresh install of wordpress. PHP 7.4 works great.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54943>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list