[wp-trac] [WordPress Trac] #46309: Image upload failures when using Gutenberg gallery block.
WordPress Trac
noreply at wordpress.org
Wed Mar 13 01:16: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: rest-api
--------------------------+------------------------------
Comment (by azaozz):
@subrataemfluence @Blamedutchie could you look in the browser tools
"Network" tab for the returned value from the server when you see these
JSON errors. Any unexpected output from PHP may cause therm, could perhaps
be coming from something else like PHP notices, etc.
Looking at
https://github.com/WordPress/gutenberg/issues/8935#issuecomment-466306820,
this is the same old problem with creating image sub-sizes. Large images
take a lot of time and server resources to process/resize. Currently all
sub-sizes are created in the same PHP run. That often fails on low powered
servers or web hosting accounts with restricted resources.
There is a ticket and a patch to fix this by separating the creation of
image sub-sizes, #40439. If the failures are caused by the same issue,
perhaps this should be closed as a duplicate.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46309#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list