[wp-trac] [WordPress Trac] #46309: Image upload failures when using Gutenberg gallery block.
WordPress Trac
noreply at wordpress.org
Fri Feb 22 11:41:50 UTC 2019
#46309: Image upload failures when using Gutenberg gallery block.
--------------------------+------------------------------
Reporter: talldanwp | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.1
Severity: major | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by Blamedutchie):
* severity: normal => major
Comment:
Before the update to WP5.1, in my case there was never an issue with file-
sizes or time-outs. There was simply not enough time between adding the
image/gallery block and the JSON error to be connected to a time-out.
Also, all image files are below 1MB and on this host I have never had a
problem before Wordpress 5/Gutenberg.
After the update to WP5.1 I no longer see the JSON error, but updating
posts that contain images or galleries still give the red **Updating
failed** banner, while the post does get updated.
Interestingly, I am also using the Meow Gallery Block plug-in and whether
I use the media gallery OR an upload to add a gallery, the click here to
refresh the preview shows no gallery in the editor. When using the
standard Gallery Block, this does not happen.
In both cases, although the red **Updating failed** banner shows, the post
gets updated.
Cutting around corners: I wonder if we are looking at a JSON issue ''or''
a Gutenberg editor design flaw...
To make things even more intriguing; I have copied my site in a VirtualBox
/ Turnkey appliance, using the same theme and the same plug-ins and never
do I receive a JSON or Updating failed error, even though the Virtualbox
(deliberately) allows for smaller uploads and has a lower memory limit.
The Virtualbox has cUrl enabled, the live site hasn't, but as far as I
know, that should not be an issue when editing posts - it never was...
Live site: Ubuntu 16.04.1 / Apache 2.4.18 / PHP 7.0.33 / MySQL 5.7.25 / WP
5.1
Virtualbox: Debian 9.4 / Apache 2.4.25 / PHP 7.0.33 / MySQL 5.7.25 / WP
5.1
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46309#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list