• Resolved danvy



    I get the following error :

    [Fri May 07 00:22:36.152010 2021] [php7:error] [pid 2688] [client] PHP Fatal error: Uncaught Error: Call to undefined function imagewebp() in /var/www/html/wp-content/ ││ plugins/warp-imagick/classes/class-plugin.php:1582\nStack trace:\n#0 /var/www/html/wp-content/plugins/warp-imagick/classes/class-plugin.php(984): ddur\\Warp_iMagick\\Plugin->webp_clone ││ _image('/var/www/html/w...', 'image/png')\n#1 /var/www/html/wp-includes/class-wp-hook.php(292): ddur\\Warp_iMagick\\Plugin->on_intermediate_image_sizes_advanced_99_filter(Array, Array, ││ '5035')\n#2 /var/www/html/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)\n#3 /var/www/html/wp-admin/includes/image.php(364): apply_filters('intermediate_im...', Arr ││ ay, Array, '5035')\n#4 /var/www/html/wp-admin/includes/image.php(484): wp_create_image_subsizes('/var/www/html/w...', '5035')\n#5 /var/www/html/wp-content/plugins/woocommerce/includes/ ││ class-wc-regenerate-images.php(402): wp_generate_attachment_metadata('5035', '/var/www/html/w...')\n#6 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images. ││ php(251): WC_Regenerate_Images::r in /var/www/html/wp-content/plugins/warp-imagick/classes/class-plugin.php on line 1582

    Followed by an http error 500.

    WebP is not installed.

    In Warp Imagick settings, I have this warning “Function that generates WebP images is not available in your PHP-GD extension.” and Generate WebP images is checked, not greyed and I can’t uncheck it/desactivate WebP.

    Is there a workaroung ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter danvy


    I tried to desactivate the WebP feature by removing the disabled flag of the WebP toggle in the html source of the settings page, set it to “no” and save.
    The error is still happen.

    Hi @danvy

    Thanks for reporting the issue.

    Looks like your GD or PHP-GD is too old or does not support imagewebp() function that generates WebP images.

    You may try to update your OS, gdlib or PHP.

    I will take look at code and let you know how to prevent fatal error.

    Hi @danvy

    What is your version of this plugin?

    Please update to 1.6.1

    Thread Starter danvy


    So, I’ll go directly to the point : The update to 1.6.1 fixed the problem 🙂
    Thank you for you reactivity !

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warp Imagick crash’ is closed to new replies.