Make WordPress Core

Changes between Initial Version and Version 9 of Ticket #54943


Ignore:
Timestamp:
08/07/2023 07:20:26 PM (10 months ago)
Author:
hellofromTonya
Comment:

I've reworded the Summary to better reflect the issue being reported, while focusing it on where the error is being thrown (though likely not the root cause).

I've also removed the php80 keyword. Why? The reported issue is not only related to PHP 8.0. A Notice is thrown on PHP 7. Rather, the issue is: for some reason, there's no size data for one or more attachments.

See the error in action on different PHP versions: https://3v4l.org/FBhtS

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54943

    • Property Keywords has-patch reporter-feedback needs-testing-info needs-unit-tests changes-requested added; needs-patch removed
    • Property Type changed from enhancement to defect (bug)
    • Property Component changed from General to Media
    • Property Summary changed from PHP Warnings on PHP >= 8 to image_get_intermediate_size(): size data is a bool, not an array throws notice / warning
  • Ticket #54943 – Description

    initial v9  
    1 While testing my website on PHP8.0 (in my example opening the blog page), I noticed the following two warnings in the error log:
    2 
     1While testing my website on PHP 8.0 (in my example opening the blog page), I noticed the following two warnings in the error log:
    32
    43{{{
     
    76}}}
    87
    9 I also noticed with a fresh install of wordpress. PHP 7.4 works great.
     8PHP 7.4 throws a Notice.
     9
     10I also noticed with a fresh install of wordpress.