[wp-trac] [WordPress Trac] #61060: PHP Warning: Undefined array key 1 in /chroot/home/ab2bb14c/fullerfasteners.com/html/wp-includes/media.php on line 71

WordPress Trac noreply at wordpress.org
Wed May 1 15:40:26 UTC 2024


#61060: PHP Warning:  Undefined array key 1 in
/chroot/home/ab2bb14c/fullerfasteners.com/html/wp-includes/media.php on
line 71
-------------------------------+------------------------------
 Reporter:  fullermetric       |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:  6.5
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by antpb):

 * keywords:   => reporter-feedback


Comment:

 Hi @fullermetric thank you for making this ticket! The media team did some
 investigation in a recent meeting and we're having trouble finding how a
 `$size` array can only have one value provided. In all of the core
 functions that lead up to the function the `$size` var is passed exactly
 how it is received so it seems likely there is a plugin or some
 functionality in your site that is only providing the width value.

 Is it possible for you to provide a callstack that shows how this function
 is being called to produce the warning? Thank you!

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


More information about the wp-trac mailing list