[wp-trac] [WordPress Trac] #61717: Warning: Trying to access array offset on value of type bool in /sites/site.com/wp-includes/media.php on line 795 801

WordPress Trac noreply at wordpress.org
Thu Oct 3 20:12:19 UTC 2024


#61717: Warning: Trying to access array offset on value of type bool in
/sites/site.com/wp-includes/media.php on line 795 801
-------------------------------------------------+-------------------------
 Reporter:  vladte4                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:  6.3.1
 Severity:  major                                |  Resolution:
 Keywords:  has-patch reporter-feedback needs-   |     Focuses:  coding-
  testing-info                                   |  standards
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:  has-patch => has-patch reporter-feedback needs-testing-info
 * version:  6.6 => 6.3.1


Comment:

 Hello @vladte4,

 Welcome to WordPress Core's Trac.

 As @antpb noted, #59573 was a similar report. Setting the Version (the WP
 version that may have introduced the bug) to match #59573.

 I don't think this ticket is actionable yet. What does it need? As @antpb
 noted in comment:6:
 * Step-by-step instructions for how to reproduce the issue.
 * The call stack that accompanies the Warning posted.

 These will give contributors the starting point to produce and investigate
 to identify the root cause.

 I suspect the root cause may be upstream, i.e. before the
 `image_get_intermediate_size()` function runs. While defensive guards can
 be added to `image_get_intermediate_size()`, they will not resolve an
 upstream bug.

 Updating the ticket Version and keywords to help denote current state.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61717#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list