CRITICAL Uncaught ImagickException: NegativeOrZeroImageSize
-
Hello,
my fatal-errors log from WooCommerce contains hundreds of these errors every single day. It is unclear to me what is the cause of this. Anybody have an idea where to search and perhaps how to resolve this?
Could this be related to image/thumbnail generation or something like that?
Error as follows:
2024-01-09T00:04:52+00:00 CRITICAL Uncaught ImagickException: NegativeOrZeroImageSize `/var/www/vhosts/website.nl/website2.nl/wp-content/uploads/2018/02/bitcoin-icon.jpg’ @ error/image.c/CloneImage/797 in /var/www/vhosts/website.nl/website2.nl/wp-includes/class-wp-image-editor-imagick.php:555<br>Stack trace: 0 /var/www/vhosts/website.nl/website2.nl/wp-includes/class-wp-image-editor-imagick.php(555): Imagick->getImage() 1 /var/www/vhosts/website.nl/website2.nl/wp-admin/includes/image.php(462): WP_Image_Editor_Imagick->make_subsize(Array) 2 /var/www/vhosts/website.nl/website2.nl/wp-admin/includes/image.php(385): _wp_make_subsizes(Array, ‘/var/www/vhosts…’, Array, 9040) 3 /var/www/vhosts/website.nl/website2.nl/wp-admin/includes/image.php(504): wp_create_image_subsizes(‘/var/www/vhosts…’, 9040) 4 /var/www/vhosts/website.nl/website2.nl/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php(137): wp_generate_attachment_metadata(9040, ‘/var/www/vhosts…’) 5 /var/www/vhosts/website.nl/website2.nl/wp-content/plugins/woocommerce/includes/abstracts/class-wc-background-process.php(102): WC_Regenerate_Images_Request->task(Array) 6 /var/www/vhosts/website.nl/website2.nl/wp-content/plugins/woocommerce/includes/libraries/wp-background-process.php(447): WC_Background_Process->handle() 7 /var/www/vhosts/website.nl/website2.nl/wp-includes/class-wp-hook.php(324): WP_Background_Process->handle_cron_healthcheck() 8 /var/www/vhosts/website.nl/website2.nl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 9 /var/www/vhosts/website.nl/website2.nl/wp-includes/plugin.php(565): WP_Hook->do_action(Array) 10 /var/www/vhosts/website.nl/website2.nl/wp-cron.php(191): do_action_ref_array(‘wp_1_wc_regener…’, Array) 11 {main}</p> <p class=””>thrown in /var/www/vhosts/website.nl/website2.nl/wp-includes/class-wp-image-editor-imagick.php op de lijn 555</p> <p class=””>2024-01-09T00:10:06+00:00 CRITICAL Uncaught ImagickException: NegativeOrZeroImageSize `/var/www/vhosts/website.nl/website2.nl/wp-content/uploads/2018/02/bitcoin-icon.jpg’ @ error/image.c/CloneImage/797 in /var/www/vhosts/website.nl/website2.nl/wp-includes/class-wp-image-editor-imagick.php:555
Stack trace: 0 /var/www/vhosts/website.nl/website2.nl/wp-includes/class-wp-image-editor-imagick.php(555): Imagick->getImage() 1 /var/www/vhosts/website.nl/website2.nl/wp-admin/includes/image.php(462): WP_Image_Editor_Imagick->make_subsize(Array) 2 /var/www/vhosts/website.nl/website2.nl/wp-admin/includes/image.php(385): _wp_make_subsizes(Array, ‘/var/www/vhosts…’, Array, 9040) 3 /var/www/vhosts/website.nl/website2.nl/wp-admin/includes/image.php(504): wp_create_image_subsizes(‘/var/www/vhosts…’, 9040) 4 /var/www/vhosts/website.nl/website2.nl/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php(137): wp_generate_attachment_metadata(9040, ‘/var/www/vhosts…’) 5 /var/www/vhosts/website.nl/website2.nl/wp-content/plugins/woocommerce/includes/abstracts/class-wc-background-process.php(102): WC_Regenerate_Images_Request->task(Array) 6 /var/www/vhosts/website.nl/website2.nl/wp-content/plugins/woocommerce/includes/libraries/wp-background-process.php(447): WC_Background_Process->handle() 7 /var/www/vhosts/website.nl/website2.nl/wp-includes/class-wp-hook.php(324): WP_Background_Process->handle_cron_healthcheck() 8 /var/www/vhosts/website.nl/website2.nl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 9 /var/www/vhosts/website.nl/website2.nl/wp-includes/plugin.php(565): WP_Hook->do_action(Array) 10 /var/www/vhosts/website.nl/website2.nl/wp-cron.php(191): do_action_ref_array(‘wp_1_wc_regener…’, Array) 11 {main}thrown in /var/www/vhosts/website.nl/website2.nl/wp-includes/class-wp-image-editor-imagick.php op de lijn 555
- The topic ‘CRITICAL Uncaught ImagickException: NegativeOrZeroImageSize’ is closed to new replies.