• Resolved hightechdad

    (@hightechdad)


    I have recently been hit with the “The EWWW Image Optimizer has detected excessive re-optimization of multiple images.” The only recent change I have made to my environment is activating a new plugin (“WordPress Related Posts”) which seems to show up in the debug log (I have included the top portion below – not the entire thing).

    Any help would be appreciated!

    Thanks!

    File path: /home/wp_qstfhf/hightechdad.com/wp-content/uploads/2009/11/speck_candyshell_thumb-100×50.png
    Number of attempted optimizations: 98
    Last attempted: 2016-12-15 09:21:15
    PHP trace:
    #0 ewww_image_optimizer() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/ewww-image-optimizer/image-editor.php:282
    #1 _save() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-image-editor-imagick.php:468
    #2 multi_resize() called at /home/wp_qstfhf/hightechdad.com/wp-admin/includes/image.php:135
    #3 wp_generate_attachment_metadata() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:142
    #4 wp_rp_update_attachment_id() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:158
    #5 wp_rp_cron_do_extract_images_from_post() called
    #6 call_user_func_array() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:298
    #7 apply_filters() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:323
    #8 do_action() called at /home/wp_qstfhf/hightechdad.com/wp-includes/plugin.php:515
    #9 do_action_ref_array() called at /home/wp_qstfhf/hightechdad.com/wp-cron.php:117

    File path: /home/wp_qstfhf/hightechdad.com/wp-content/uploads/2009/06/babybrain_thumb-100×98.png
    Number of attempted optimizations: 20
    Last attempted: 2016-12-15 09:14:23
    PHP trace:
    #0 ewww_image_optimizer() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/ewww-image-optimizer/image-editor.php:282
    #1 _save() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-image-editor-imagick.php:468
    #2 multi_resize() called at /home/wp_qstfhf/hightechdad.com/wp-admin/includes/image.php:135
    #3 wp_generate_attachment_metadata() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:142
    #4 wp_rp_update_attachment_id() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:158
    #5 wp_rp_cron_do_extract_images_from_post() called
    #6 call_user_func_array() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:298
    #7 apply_filters() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:323
    #8 do_action() called at /home/wp_qstfhf/hightechdad.com/wp-includes/plugin.php:515
    #9 do_action_ref_array() called at /home/wp_qstfhf/hightechdad.com/wp-cron.php:117

    File path: /home/wp_qstfhf/hightechdad.com/wp-content/uploads/2012/03/digital_joneses_logo_thumb-105×150.jpg
    Number of attempted optimizations: 151
    Last attempted: 2016-12-15 09:09:20
    PHP trace:
    #0 ewww_image_optimizer() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/ewww-image-optimizer/image-editor.php:282
    #1 _save() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-image-editor-imagick.php:468
    #2 multi_resize() called at /home/wp_qstfhf/hightechdad.com/wp-admin/includes/image.php:135
    #3 wp_generate_attachment_metadata() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:142
    #4 wp_rp_update_attachment_id() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:97
    #5 wp_rp_get_image_from_img_tag() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:125
    #6 wp_rp_actually_extract_images_from_post_html() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:160
    #7 wp_rp_cron_do_extract_images_from_post() called
    #8 call_user_func_array() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:298
    #9 apply_filters() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:323
    #10 do_action() called at /home/wp_qstfhf/hightechdad.com/wp-includes/plugin.php:515
    #11 do_action_ref_array() called at /home/wp_qstfhf/hightechdad.com/wp-cron.php:117

    File path: /home/wp_qstfhf/hightechdad.com/wp-content/uploads/2009/06/keychain_icon_thumb-99×144.png
    Number of attempted optimizations: 89
    Last attempted: 2016-12-15 09:09:04
    PHP trace:
    #0 ewww_image_optimizer() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/ewww-image-optimizer/image-editor.php:282
    #1 _save() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-image-editor-imagick.php:468
    #2 multi_resize() called at /home/wp_qstfhf/hightechdad.com/wp-admin/includes/image.php:135
    #3 wp_generate_attachment_metadata() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:142
    #4 wp_rp_update_attachment_id() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:158
    #5 wp_rp_cron_do_extract_images_from_post() called
    #6 call_user_func_array() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:298
    #7 apply_filters() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:323
    #8 do_action() called at /home/wp_qstfhf/hightechdad.com/wp-includes/plugin.php:515
    #9 do_action_ref_array() called at /home/wp_qstfhf/hightechdad.com/wp-cron.php:117

    File path: /home/wp_qstfhf/hightechdad.com/wp-content/uploads/2009/08/dropbox_icon_thumb-100×110.png
    Number of attempted optimizations: 23
    Last attempted: 2016-12-15 08:25:34
    PHP trace:
    #0 ewww_image_optimizer() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/ewww-image-optimizer/image-editor.php:282
    #1 _save() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-image-editor-imagick.php:468
    #2 multi_resize() called at /home/wp_qstfhf/hightechdad.com/wp-admin/includes/image.php:135
    #3 wp_generate_attachment_metadata() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:142
    #4 wp_rp_update_attachment_id() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:158
    #5 wp_rp_cron_do_extract_images_from_post() called
    #6 call_user_func_array() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:298
    #7 apply_filters() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:323
    #8 do_action() called at /home/wp_qstfhf/hightechdad.com/wp-includes/plugin.php:515
    #9 do_action_ref_array() called at /home/wp_qstfhf/hightechdad.com/wp-cron.php:117

    File path: /home/wp_qstfhf/hightechdad.com/wp-content/uploads/2009/08/dropbox_icon_thumb-143×144.png
    Number of attempted optimizations: 16
    Last attempted: 2016-12-15 08:25:34
    PHP trace:
    #0 ewww_image_optimizer() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/ewww-image-optimizer/image-editor.php:282
    #1 _save() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-image-editor-imagick.php:468
    #2 multi_resize() called at /home/wp_qstfhf/hightechdad.com/wp-admin/includes/image.php:135
    #3 wp_generate_attachment_metadata() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:142
    #4 wp_rp_update_attachment_id() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:158
    #5 wp_rp_cron_do_extract_images_from_post() called
    #6 call_user_func_array() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:298
    #7 apply_filters() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:323
    #8 do_action() called at /home/wp_qstfhf/hightechdad.com/wp-includes/plugin.php:515
    #9 do_action_ref_array() called at /home/wp_qstfhf/hightechdad.com/wp-cron.php:117

    File path: /home/wp_qstfhf/hightechdad.com/wp-content/uploads/2011/12/image_thumb-123×150.png
    Number of attempted optimizations: 92
    Last attempted: 2016-12-15 08:23:38
    PHP trace:
    #0 ewww_image_optimizer() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/ewww-image-optimizer/image-editor.php:282
    #1 _save() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-image-editor-imagick.php:468
    #2 multi_resize() called at /home/wp_qstfhf/hightechdad.com/wp-admin/includes/image.php:135
    #3 wp_generate_attachment_metadata() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:142
    #4 wp_rp_update_attachment_id() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:158
    #5 wp_rp_cron_do_extract_images_from_post() called
    #6 call_user_func_array() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:298
    #7 apply_filters() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:323
    #8 do_action() called at /home/wp_qstfhf/hightechdad.com/wp-includes/plugin.php:515
    #9 do_action_ref_array() called at /home/wp_qstfhf/hightechdad.com/wp-cron.php:117

    File path: /home/wp_qstfhf/hightechdad.com/wp-content/uploads/2011/12/image_thumb-123×144.png
    Number of attempted optimizations: 32
    Last attempted: 2016-12-15 08:23:38
    PHP trace:
    #0 ewww_image_optimizer() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/ewww-image-optimizer/image-editor.php:282
    #1 _save() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-image-editor-imagick.php:468
    #2 multi_resize() called at /home/wp_qstfhf/hightechdad.com/wp-admin/includes/image.php:135
    #3 wp_generate_attachment_metadata() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:142
    #4 wp_rp_update_attachment_id() called at /home/wp_qstfhf/hightechdad.com/wp-content/plugins/wordpress-23-related-posts-plugin/thumbnailer.php:158
    #5 wp_rp_cron_do_extract_images_from_post() called
    #6 call_user_func_array() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:298
    #7 apply_filters() called at /home/wp_qstfhf/hightechdad.com/wp-includes/class-wp-hook.php:323
    #8 do_action() called at /home/wp_qstfhf/hightechdad.com/wp-includes/plugin.php:515
    #9 do_action_ref_array() called at /home/wp_qstfhf/hightechdad.com/wp-cron.php:117

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Yup, you pinpointed it perfectly. The WordPress Related Posts plugin (and the other two related posts plugins by Zemanta) are broken and they refuse to fix the bug. Their plugins regenerate image resizes constantly (either on every page load, or on every batch run via wp-cron).

    Thread Starter hightechdad

    (@hightechdad)

    Argh. So what do you recommend I do? I can contact them if that does anything…but is there a setting in your plugin that I can turn off to prevent this? (Love your plugin btw!)

    Plugin Author nosilver4u

    (@nosilver4u)

    Unfortunately, they generate their images right in the same uploads folder, so there isn’t an easy way to filter those out. I recommend you find a different related posts plugin, there are a lot of them out there, just avoid the three by Zemanta.
    Even you were able to disable EWWW on those images, they are still wasting a lot of server resources regenerating those images, so I would never use any of their plugins, especially since they flat out refused to fix the bug.

    Thread Starter hightechdad

    (@hightechdad)

    Ok good point. I moved away from YAARPP because of errors it was throwing recently and the fact it hadn’t been updated. Any recommendations on similar plugins to Zemanta that play nice with your plugin?
    Thx!

    Plugin Author nosilver4u

    (@nosilver4u)

    Afraid I don’t have any recommendations, as I’ve never had a need for a related posts plugin on any of my sites.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Excessive Reoptimization detected’ is closed to new replies.