• Resolved marcpaya

    (@marcpaya)


    Bonjour,

    I failed to get Image to WebP to work: on Chrome Dev Tool the image type is not WebP.
    I tried to start the installation again: I disabled and uninstalled Image to WebP, and tried to install it again. The installation failed with the message:
    "The extension could not be activated because it triggered a fatal error.
    Fatal error: Cannot declare class images_to_webp, because the name is already in use in /srv/data/web/vhosts/barreur-de-feu.fr/htdocs/wp-content/plugins/images-to-webp/images-to -webp.php on line 13 "
    What can I do ?

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

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

    (@kubiq)

    Hello,

    that means, that there is already class images_to_webp defined somewhere

    In your theme or in some other plugin

    That means you have some conflict/incompatible plugin or theme, but it also means, that you already have WebP functionality, so there is no need to install my plugin.

    Thread Starter marcpaya

    (@marcpaya)

    Yes there are the WebP images created during the previous installation of Image to Webp.
    The problem is that these images were not used in the site.
    (I read here your recommendations to check it on Chrome Dev Tools)
    Can you help me find a solution?

    Plugin Author kubiq

    (@kubiq)

    But it is working
    I can see it on your website, for example this image
    https://barreur-de-feu.fr/wp-content/uploads/2020/03/Barreur-de-feu.jpg
    it has JPG extension, but when you take a look in DEV tools it is image/webp, so everything is ok

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘The extension could not be activated’ is closed to new replies.