Opened 7 weeks ago
Last modified 6 weeks ago
#64027 new defect (bug)
Some specific image not uploading correctly on 6.8.2
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | 6.8.2 |
| Component: | Upload | Keywords: | needs-unit-tests |
| Focuses: | tests | Cc: |
Description
If i upload this image o the admin it gives an error after a while.
If i use "wp_insert_attachment_from_url", it stops at the call and does not give an error or anything.
On an older version it was fine (6.7)
Attachments (2)
Change History (8)
#1
@
7 weeks ago
- Focuses tests added
- Keywords needs-unit-tests added
Reproduction Report
❌ Can't be reproduced.
I was able to reproduce this issue on WordPress 6.8.2.
I uploaded the problematic image directly from the Media Library and also tried using it as a featured image on a post.
In both cases, the upload failed or did not complete as expected.
Environment details:
OS: Windows NT 10.0
PHP: 8.2.23
WordPress: 6.8.2
Browser: Chrome
Theme: Twenty Twenty-Five
Screenshots:
Screenshot 1: https://tinyurl.com/2xz9syo7
Screenshot 2: https://tinyurl.com/2cft3r5s
Thanks!
#2
@
7 weeks ago
Reproduction Report
✅ Can be reproduced.
I was able to reproduce this issue on WordPress 6.8.3.
I uploaded the provided image directly from the Media Library and also attempted to use it as a featured image on a post.
In both cases, the upload failed to complete as expected.
Environment details:
PHP: 8.2.29
WordPress: 6.8.3
Browser: Chrome
Theme: Twenty Twenty-Five
#3
@
7 weeks ago
- Keywords needs-patch added
While debugging, I found out this happens after #36477 ticket got merged
In more detail, this PR code causes the request to timeout https://github.com/WordPress/wordpress-develop/pull/7556/files
- If we revert the PR code, the file upload works fine.
#4
@
7 weeks ago
Can you please confirm if this issue is happening with only this specific image or with other large PNG files as well? I am wondering if it might be related to the file size or the way the image is encoded. Also, since it was working in 6.7, is there a recommended workaround until a patch is available?
Thanks!
the file that gives the error