• Resolved Tony Franco

    (@tony-franco)


    Dear Sir,

    I′m doing some changes at website. I set a local server, to run tests.

    I have installed images to webp, but i can′t activate.. This only happens here in local server…

    Maybe you can give some help…

    Message:

    [13-Dec-2023 21:32:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/html/obrasdarte.com/wp-content/plugins/images-to-webp/tests/configs.php:11
    Stack trace: 0 /var/www/html/obrasdarte.com/wp-content/plugins/images-to-webp/images-to-webp.php(74): include_once() 1 /var/www/html/obrasdarte.com/wp-includes/class-wp-hook.php(324): images_to_webp->activate() 2 /var/www/html/obrasdarte.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 3 /var/www/html/obrasdarte.com/wp-includes/plugin.php(517): WP_Hook->do_action() 4 /var/www/html/obrasdarte.com/wp-admin/includes/plugin.php(693): do_action() 5 /var/www/html/obrasdarte.com/wp-admin/plugins.php(58): activate_plugin() 6 {main}

    thrown in /var/www/html/obrasdarte.com/wp-content/plugins/images-to-webp/tests/configs.php on line 11

    Regards,

    Tony

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author kubiq

    (@kubiq)

    Hello,

    looks like you don’t have needed PHP server libraries like CURL, so your localhost setup is incomplete or invalid. Actually missing CURL can lead to much more problems in WP.

    Try to use localwp.com, it’s really easy to start and it works without any problems ??

    Thread Starter Tony Franco

    (@tony-franco)

    Hi Kubiq,

    Thanks by your return.

    You were right, it was missing the curl library. But also there was another problem after that, nameserver at ‘/etc/hosts’ file;

    I had to add the ip of machine in the local network with local domain, restart the services and now it′s working.

    Sorry to disturb and thank you again!

    Regards,

    Tony

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error on activation in local server’ is closed to new replies.