WordPress.org

Make WordPress Core

Opened 7 weeks ago

Closed 5 weeks ago

Last modified 5 weeks ago

#52258 closed defect (bug) (worksforme)

Image uploader preview not working with multisite on 5.6

Reported by: slewis1000 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.6
Component: Media Keywords: 2nd-opinion
Focuses: Cc:

Description

Hello,
Since upgrading to 5.6 I can't upload and set images. Which is a big issue on my main site. The images seem to upload ok (and appear in the wp-content/uploads folder), but the preview never loads, so I can't use them or set them as a featured image.
It seems it might be linked to the multisite > network settings > site upload space.
I've tested this with a clean install, any theme. PHP 7.3.17, Mysql 8.0, Apache 2.4.46
For 5.5.3, I installed, changed to a multisite, toggle the 'site upload space' settings and uploading and setting images works fine. When I upgrade to 5.6, it then stops working.
When I've done a clean 5.6 install, then change to multisite, it works until I toggle the 'site upload space' it then stops the image uploader working, with whatever settings I have in.
Not sure if there's a way around it? eg putting something in the htaccess file.
I also saw this file has been updated wp-admin/async-upload.php, which when I inspected the code looks like it doesn't always load.
thanks,
Simon

Attachments (4)

wp_5-5_image-error-0.png (199.1 KB) - added by slewis1000 7 weeks ago.
5.5 image uploader working fine
wp_5-6_image-error-2.png (174.9 KB) - added by slewis1000 7 weeks ago.
5.6 image uploader stops working
wp_5-6_image-error-3.png (86.6 KB) - added by slewis1000 7 weeks ago.
5.6 network settings
wp_5-6_image-error-4.png (190.9 KB) - added by slewis1000 7 weeks ago.
5.6 network settings

Download all attachments as: .zip

Change History (6)

@slewis1000
7 weeks ago

5.5 image uploader working fine

@slewis1000
7 weeks ago

5.6 image uploader stops working

@slewis1000
7 weeks ago

5.6 network settings

@slewis1000
7 weeks ago

5.6 network settings

#1 @slewis1000
5 weeks ago

  • Resolution set to worksforme
  • Severity changed from major to minor
  • Status changed from new to closed

#2 @slewis1000
5 weeks ago

It's now working ok. No idea what changed. I hadn't changed anything on my live site, and just started working a few days after I raised this ticket. It started working on all my test sites again too.

Note: See TracTickets for help on using tickets.