• Resolved l1z0b

    (@l1z0b)


    I just installed this plugin in one of my websites and I get this error:

    Fatal error: Uncaught Error: Call to undefined function <strong>WebpConverter\Service\curl_init() in /wp-content/plugins/webp-converter-for-media/src/Service/FileLoader.php:77 Stack trace: #0 /wp-content/plugins/webp-converter-for-media/src/Service/FileLoader.php(50): WebpConverter\Service\FileLoader->get_file_size_for_loaded_file('https://www.fac...', Array) #1 /wp-content/plugins/webp-converter-for-media/src/Error/Detector/RewritesErrorsDetector.php(154): WebpConverter\Service\FileLoader->get_file_size_by_url('https://www.fac...', true, 1653373420) #2 /wp-content/plugins/webp-converter-for-media/src/Error/Detector/RewritesErrorsDetector.php(84): WebpConverter\Error\Detector\RewritesErrorsDetector->if_redirects_are_works() #3 /wp-content/plugins/webp-converter-for-media/src/Error/Detector/RewritesErrorsDetector.php(69): WebpConverter\Error\Detector\Rewrites in /wp-content/plugins/webp-converter-for-media/src/Service/FileLoader.php on line 77

    How can I solve this? I used this plugin in other websites on the same server and never had any issues.

    • This topic was modified 2 years, 6 months ago by l1z0b.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @l1z0b,

    Thanks for your message.

    Do you have the cURL extension installed on your server and it is activated in your PHP configuration?

    If the plugin was working properly before, something must have changed in the configuration of your server.

    Best,
    Mateusz

    Thread Starter l1z0b

    (@l1z0b)

    Hello,

    Thank you for your response, I checked the server settings with a file containing phpinfo() the thing is that I’m not really good in these things. The only thing I found is that the cURL string is contained in the column of the “module authors” and in the row of the disabled_functions.
    I guess this is why the plugin isn’t working. Is there something I can do like adding something to my php.ini or something similar?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @l1z0b Thank you for contacting me. The cURL section is missing in your configuration. For example, you should have “cURL support” as “enabled”.

    This means that the cURL module is not active on your server.

    Thread Starter l1z0b

    (@l1z0b)

    Okay thank you for your patience, I will update on the status of my website when my hosting provider activates the cURL module.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error when Plugin is activated’ is closed to new replies.