• Resolved tylerjmorrison

    (@tylerjmorrison)


    Support,

    I noticed that I am receiving a HTTP error while uploading images. Per your support thread – https://wordpress.org/support/topic/important-read-before-posting – I have updated the plugin (Version 2.5.0) and selected the debugging option (see below). Thank you in advance for your help!

    tjmpropertygroup.com

    www-data
    EWWW IO version: 250.0
    WP version: 4.2.4
    PHP version: 50509
    ewww_image_optimizer_preinit()
    ewww_image_optimizer_gallery_support()
    ewww_image_optimizer_admin_init()
    ewww_image_optimizer_init()
    ewww_image_optimizer_cloud_init()
    ewww_image_optimizer_disable_tools()
    ewww_image_optimizer_cron_setup()
    ewww_image_optimizer_cron_setup()
    ewww_image_optimizer_settings_script()
    ewww_image_optimizer_bulk_script()
    ewww_image_optimizer_aux_images_script()
    ewww_image_optimizer_webp_script()
    ewww_image_optimizer_options()
    ABSPATH: /nas/wp/www/cluster-40808/propertygroup/
    home url: http://tjmpropertygroup.com
    site url: http://tjmpropertygroup.com
    ewww_image_optimizer_savings()
    querying savings for single site
    query to be performed: SELECT SUM(orig_size-image_size) FROM wp_ewwwio_images
    savings found: 48679512
    ewww_image_optimizer_cloud_verify()
    verification success via: https://104.236.158.232
    verification body contents: great
    ewww_image_optimizer_cloud_quota()
    quota data retrieved: 5000 184 19
    cloud JPG: on
    cloud PNG: on
    PNG extra compress: on
    cloud GIF: on
    cloud fast lossy: off
    remove metadata: off
    lossy JPG: off
    lossy PNG: off
    bulk delay: 1
    scheduled optimization: off
    deferred optimization: off
    disable auto-optimization: off
    include media library: off
    ewww_image_optimizer_get_image_sizes()
    Array ( [thumbnail] => Array ( [width] => 80 [height] => 80 ) [medium] => Array ( [width] => 300 [height] => 300 ) [large] => Array ( [width] => 1030 [height] => 1030 ) [cspacing-horizontal-thumbnail] => Array ( [width] => 174 [height] => 120 ) [cspacing-vertical-thumbnail] => Array ( [width] => 174 [height] => 90 ) [cspacing-marker-thumbnail] => Array ( [width] => 100 [height] => 100 ) [cspacing-infobox1-thumbnail] => Array ( [width] => 100 [height] => 80 ) [widget] => Array ( [width] => 36 [height] => 36 ) [square] => Array ( [width] => 180 [height] => 180 ) [featured] => Array ( [width] => 1500 [height] => 430 ) [featured_large] => Array ( [width] => 1500 [height] => 630 ) [extra_large] => Array ( [width] => 1500 [height] => 1500 ) [portfolio] => Array ( [width] => 495 [height] => 400 ) [portfolio_small] => Array ( [width] => 260 [height] => 185 ) [gallery] => Array ( [width] => 845 [height] => 684 ) [magazine] => Array ( [width] => 710 [height] => 375 ) [masonry] => Array ( [width] => 705 [height] => 705 ) [entry_with_sidebar] => Array ( [width] => 845 [height] => 321 ) [entry_without_sidebar] => Array ( [width] => 1210 [height] => 423 ) [shop_thumbnail] => Array ( [width] => 120 [height] => 120 ) [shop_catalog] => Array ( [width] => 450 [height] => 450 ) [shop_single] => Array ( [width] => 450 [height] => 999 ) )
    disabled resizes:
    thumbnail: optimization=enabled creation=enabled
    medium: optimization=enabled creation=enabled
    large: optimization=enabled creation=enabled
    cspacing-horizontal-thumbnail: optimization=enabled creation=enabled
    cspacing-vertical-thumbnail: optimization=enabled creation=enabled
    cspacing-marker-thumbnail: optimization=enabled creation=enabled
    cspacing-infobox1-thumbnail: optimization=enabled creation=enabled
    widget: optimization=enabled creation=enabled
    square: optimization=enabled creation=enabled
    featured: optimization=enabled creation=enabled
    featured_large: optimization=enabled creation=enabled
    extra_large: optimization=enabled creation=enabled
    portfolio: optimization=enabled creation=enabled
    portfolio_small: optimization=enabled creation=enabled
    gallery: optimization=enabled creation=enabled
    magazine: optimization=enabled creation=enabled
    masonry: optimization=enabled creation=enabled
    entry_with_sidebar: optimization=enabled creation=enabled
    entry_without_sidebar: optimization=enabled creation=enabled
    shop_thumbnail: optimization=enabled creation=enabled
    shop_catalog: optimization=enabled creation=enabled
    shop_single: optimization=enabled creation=enabled
    skip images smaller than: 0 bytes
    skip PNG images larger than: 0 bytes
    exclude originals from lossy: off
    exclude originals from metadata removal: off
    use system binaries: no
    jpegtran disabled: no
    optipng disabled: no
    pngout disabled: no
    gifsicle disabled: no
    webp conversion: off
    alt webp rewriting: off
    jpg2png: off
    ewww_image_optimizer_jpg_background()
    ewww_image_optimizer_jpg_background()
    ewww_image_optimizer_jpg_quality()
    png2jpg: off
    gif2png: on
    max_execution_time: 3600

    https://wordpress.org/plugins/ewww-image-optimizer/

Viewing 1 replies (of 1 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    The debug info shows 22 resizes per image, which means EWWW has to submit 23 images per upload prior to reaching a timeout. The max_execution_time is only half the story. Often Apache or Nginx will have their own cgi timeout which can cause the issues as well.

    I would look into either disabling optimization on some of those sizes (or disabling some sizes from being created), or the newdeferred optimization option (both on the Advanced tab).

Viewing 1 replies (of 1 total)
  • The topic ‘HTTP Error Upon Upload’ is closed to new replies.