PHP crash when deactivating plugin
-
Hello Support,
I’ve stumbled across a similar PHP error that others have reported previously. Not when using but when deactivating the plugin.
I get the following crash reported…
ordPress version 6.2 Active theme: Twenty Fourteen Child 2023 (version 23.03.01) Current plugin: WP-Optimize - Clean, Compress, Cache (version 3.2.14) PHP version 8.1.16 Error Details ============= An error of type E_ERROR was caused in line 161 of the file /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ImageMagick.php. Error message: Uncaught Error: Call to undefined function WebPConvert\Convert\Converters\escapeshellarg() in /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ImageMagick.php:161 Stack trace: #0 /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ImageMagick.php(252): WebPConvert\Convert\Converters\ImageMagick->createCommandLineOptions('6.9.10-68') #1 /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(57): WebPConvert\Convert\Converters\ImageMagick->doActualConvert() #2 /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(95): WebPConvert\Convert\Converters\ImageMagick->convertTwoAndSelectSmallest() #3 /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(256): WebPConvert\Convert\Converters\ImageMagick->runActualConvert() #4 /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(295): WebPConvert\Convert\Converters\AbstractConverter->doConvertImplementation() #5 /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/webp/class-wpo-webp-test-run.php(48): WebPConvert\Convert\Converters\AbstractConverter->doConvert() #6 /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(55): WPO_WebP_Test_Run::get_converter_status() #7 /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(20): WP_Optimize_WebP->set_converter_status() #8 /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(43): WP_Optimize_WebP->__construct() #9 /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/wp-optimize.php(262): WP_Optimize_WebP::get_instance() #10 /home/beggarsf/public_html/wordpress/wp-content/plugins/wp-optimize/wp-optimize.php(1807): WP_Optimize->get_webp_instance() #11 /home/beggarsf/public_html/wordpress/wp-includes/class-wp-hook.php(308): wpo_deactivation_actions(false) #12 /home/beggarsf/public_html/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #13 /home/beggarsf/public_html/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #14 /home/beggarsf/public_html/wordpress/wp-admin/includes/plugin.php(814): do_action('deactivate_wp-o...', false) #15 /home/beggarsf/public_html/wordpress/wp-admin/plugins.php(209): deactivate_plugins('wp-optimize/wp-...', false, false) #16 {main} thrown
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘PHP crash when deactivating plugin’ is closed to new replies.