[wp-trac] [WordPress Trac] #60480: Warning: Undefined array key "file" in .../wp-includes/media.php on line 1723

WordPress Trac noreply at wordpress.org
Tue Sep 24 19:20:03 UTC 2024


#60480: Warning: Undefined array key "file" in .../wp-includes/media.php on line
1723
--------------------------+------------------------------
 Reporter:  shanemac10    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Import        |     Version:  6.4.3
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by MadtownLems):

 I had similar errors logged, and I traced it down to when sites were using
 Images that were generated by uploaded PDFs. The metadata for those pdf
 thumbnails does not seem to contain the base 'file' attribute.

 What I can't actually figure out is how our users even got the URLs to use
 those images on the front-end! 😅 .

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


More information about the wp-trac mailing list