[wp-trac] [WordPress Trac] #48522: Attachment size not generated when large images uploaded
WordPress Trac
noreply at wordpress.org
Mon Nov 11 20:40:20 UTC 2019
#48522: Attachment size not generated when large images uploaded
-------------------------------+---------------------
Reporter: vanyukov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3.1
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+---------------------
Comment (by vanyukov):
@azaozz,
{{{thumbnail_image()}}} is failing inside the
{{{wp_create_image_subsizes()}}} function with a "cache resources
exhausted" error. the {{{async-upload.php}}} never fails, because the
resources do not run out during upload, they run out during an attempt to
create the new big image and the error for that is not passed down to
{{{async-upload.php}}}. I've attached a trace call:
[[Image(https://i.imgur.com/4vsHSGrr.png)]]
Also, I've asked in Slack, but haven't yet received a response. I'm not
sure I understand how everyone is defaulting to GD during tests, when
{{{_wp_image_editor_choose()}}} is set to return an instance of
{{{WP_Image_Editor_Imagick}}} first. Am I missing something?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48522#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list