• Resolved debbiewaller

    (@debbiewaller)


    My site threw up a critical error as per the title. I logged in under the recovery mode and switched off the plugin. Now the site is working. I have tried uninstalling and reinstalling the plugin but it simply crashes the site again and I have no idea why. My googling said this is usually due to an outdated version of the plugin but I had auto updates enabled and having reinstalled I would have thought I’d have the latest option.
    I’m new to wordpress and don’t know code.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Venkat Raj

    (@webulous)

    @debbiewaller Could you please tell us which version of WP Optimize is throwing error and what error message do you see on screen and on debug log file? Thanks

    Thread Starter debbiewaller

    (@debbiewaller)

    Version 3.2.9
    I have no idea how to find a debug log, sorry. I tried googling but that told me it would be in /wp-content/ and it’s not there. I searched my public HTML files, can’t find it there either.

    Thread Starter debbiewaller

    (@debbiewaller)

    The error message if it’s enabled is this, I have no idea at all what it means.

    This plugin failed to load properly and is paused during recovery mode.
    
    An error of type E_ERROR was caused in line 161 of the file /home/y0rkshir/public_html/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/y0rkshir/public_html/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ImageMagick.php:161 Stack trace: #0 /home/y0rkshir/public_html/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ImageMagick.php(252): WebPConvert\Convert\Converters\ImageMagick->createCommandLineOptions() #1 /home/y0rkshir/public_html/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(57): WebPConvert\Convert\Converters\ImageMagick->doActualConvert() #2 /home/y0rkshir/public_html/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ConverterTraits/EncodingAutoTrait.php(86): WebPConvert\Convert\Converters\ImageMagick->convertTwoAndSelectSmallest() #3 /home/y0rkshir/public_html/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(255): WebPConvert\Convert\Converters\ImageMagick->runActualConvert() #4 /home/y0rkshir/public_html/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/AbstractConverter.php(294): WebPConvert\Convert\Converters\AbstractConverter->doConvertImplementation() #5 /home/y0rkshir/public_html/wp-content/plugins/wp-optimize/webp/class-wpo-webp-test-run.php(48): WebPConvert\Convert\Converters\AbstractConverter->doConvert() #6 /home/y0rkshir/public_html/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(55): WPO_WebP_Test_Run::get_converter_status() #7 /home/y0rkshir/public_html/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(20): WP_Optimize_WebP->set_converter_status() #8 /home/y0rkshir/public_html/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(43): WP_Optimize_WebP->__construct() #9 /home/y0rkshir/public_html/wp-content/plugins/wp-optimize/wp-optimize.php(251): WP_Optimize_WebP::get_instance() #10 /home/y0rkshir/public_html/wp-content/plugins/wp-optimize/wp-optimize.php(539): WP_Optimize->get_webp_instance() #11 /home/y0rkshir/public_html/wp-includes/class-wp-hook.php(307): WP_Optimize->plugins_loaded() #12 /home/y0rkshir/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #13 /home/y0rkshir/public_html/wp-includes/plugin.php(476): WP_Hook->do_action() #14 /home/y0rkshir/public_html/wp-settings.php(461): do_action() #15 /home/y0rkshir/public_html/wp-config.php(80): require_once('/home/y0rkshir/...') #16 /home/y0rkshir/public_html/wp-load.php(50): require_once('/home/y0rkshir/...') #17 /home/y0rkshir/public_html/wp-login.php(12): require('/home/y0rkshir/...') #18 {main} thrown
    • This reply was modified 2 years, 1 month ago by debbiewaller.
    Plugin Contributor Venkat Raj

    (@webulous)

    @debbiewaller I believe you are using PHP 8.x and for some unknown reason your hosting provider has disabled the function escapeshellarg() Prior to 8.x i.e like 7.x it will only throw a warning and will say escapeshellarg() has been disabled for security reasons

    That said, we are working on a patch and will release soon

    Thread Starter debbiewaller

    (@debbiewaller)

    Does that mean I should leave this switched off till the patch is available? Or should I change the php version?

    @debbiewaller Please disable the option until the new version is released.

    Thread Starter debbiewaller

    (@debbiewaller)

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP-Optimise plugin failed to load properly and is paused’ is closed to new replies.