[wp-trac] [WordPress Trac] #63357: Error function exif_imagetype() functions.php on line 3338

WordPress Trac noreply at wordpress.org
Mon Apr 28 12:40:23 UTC 2025


#63357: Error function  exif_imagetype() functions.php on line 3338
-------------------------------+------------------------------
 Reporter:  devnguyentien      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by SirLouen):

 * keywords:   => reporter-feedback


Comment:

 == Reproduction Report
 === Description
 ❌ This report can't validate that the issue can be reproduced.

 === Environment
 - WordPress: 6.8-src
 - PHP: 8.2.28
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 135.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-One 2.5
 - MU Plugins: None activated
 - Plugins:
   * Hello Dolly 1.7.2
   * Test Reports 1.2.0
   * WP_Query Tester 1.0.0

 === Bug Reproduction Steps
 1. Set PHP 8.2 and WP 6.8
 2. Go to add a post
 3. Pick an external image. Like this: https://hips.hearstapps.com/hmg-
 prod/images/dog-puppy-on-garden-royalty-free-image-1586966191.jpg
 4. Add an image block and insert from URL
 5. ❌ Image is added without troubles
 6. Video Attached

 === Actual Results
 1.  ❌ Error condition doesn't occur

 === Additional Notes
 - @devnguyentien create a new WP installation or use WP Playground to
 test, and try again from scratch
 https://playground.wordpress.net/?php=8.2&wp=6.8
 - Probably you have some other plugin or theme or custom function that is
 causing the conflict
 - Or maybe the problem is with the type of file. In this example I'm using
 a JPG
 - Provide the image file you are using, but first test it in the
 Playground to see if you can reproduce it.

 === Supplemental Artifacts
 Demo Video: https://streamable.com/79z717

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


More information about the wp-trac mailing list