• Resolved agencesymphony

    (@agencesymphony)


    Hello,

    my website have an error in Jetpack :

    Deprecated: La fonction Jetpack_Photon::filter_the_content est obsolète depuis la version jetpack-12.2 ! Utilisez Automattic\Jetpack\Image_CDN\Image_CDN::filter_the_content à la place. in /home/fattqmee/domains/shoes.fattooch.tn/wp-includes/functions.php on line 5413

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Gabor

    (@nextendweb_gabor)

    Hi @agencesymphony!

    I’m Gabor, one of the developers of Smart Slider. As I see you are using our plugin and the latest version of Jetpack is no longer compatible with our “JetPack Photon image optimizer” option:
    https://smartslider.helpscoutdocs.com/article/1801-slider-settings-optimize
    and that creates this error message. We will deprecate this option in the next Smart Slider version, because it created different issues too. For now, you should just turn that “JetPack Photon image optimizer” option off at your sliders, and that will solve the problem.

    Alternatively, you can edit this file:
    wp-content\plugins\smart-slider-3\Nextend\SmartSlider3\Slider\Slider.php

    Around line 395. you can find this code:

    if (!$this->params->get('optimize-jetpack-photon', 0)) {
       AssetManager::$image->add($this->images);
    }

    Remove the “if” statement around the inner code:

    AssetManager::$image->add($this->images);

    and this way you won’t have to turn this option off at all your sliders.

    • This reply was modified 3 years ago by Gabor.
    Thread Starter agencesymphony

    (@agencesymphony)

    Thanks,
    I disabled the option “JetPack Photon Image Optimizer” and I modified the code but nothing changes

    Gabor

    (@nextendweb_gabor)

    Hi @agencesymphony!

    We just released a new Smart Slider version, which contains the fix for your issue. So please update Smart Slider, and that should solve the problem! But if you would still have an issue after this, please contact us here, and we will help:
    https://smartslider3.com/contact-us/support/?topic=Installation&installation-group=Installation-Other

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!

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

The topic ‘An error in Jetpack’ is closed to new replies.