• Resolved youmound

    (@youmound)


    Hello,
    From Friday, February 26, wherever I use Smart Slider 3, it no longer appears in the template. The latest WP. Template unchanged for several months. Suddenly boom.

    We have a photo, e.g. above the website menu and in some entries, e.g.

    (on the right) should be and he is gone. It appears in the code, the smart’s short code is inserted and it is not displayed on the website.

    What’s the problem?

    • This topic was modified 4 years ago by youmound.
    • This topic was modified 4 years ago by youmound.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Ramona

    (@nextend_ramona)

    Hi @youmound

    The problem on your site is a JavaScript error:
    Uncaught TypeError: Cannot set property 'easeInQuad' of undefined
    which you can check like this:
    https://smartslider.helpscoutdocs.com/article/1935-troubleshooting-with-your-browser#jserror

    It happens because your site uses the Slim version of jQuery, but Smart Slider 3 can only work with the “non-slim” versions:
    https://smartslider.helpscoutdocs.com/article/1716-system-requirements#jquery

    So I would recommend replacing the slim jQuery with the non-slim version:
    <script src="https://yoursite.eu/wp-content/themes/sptrzyglow/js/jquery-3.3.1.slim.min.js"></script>
    that should solve the problem.

    Thread Starter youmound

    (@youmound)

    File footer.php

    
    <script src="<?php bloginfo('template_url'); ?>/js/jquery-3.3.1.slim.min.js"></script>

    I have such an entry, it’s as if the template uses this file no? It finally worked, and on Friday it stopped .. (02/26)

    Ramona

    (@nextend_ramona)

    You should replace the jquery-3.3.1.slim.min.js file with the non-slim version of jQuery.

    Smart Slider 3 has never worked with the Slim version of jQuery, because jQuery slim removes some essential jQuery features, such as the jQuery Easing what is required for Smart Slider 3 to work:
    https://stackoverflow.com/a/35424465

    If you didn’t have problem before, then probably something loaded a non-slim version of jQuery previously, before this slim version was loaded, so your site was actually using a regular jQuery version, what works well with Smart Slider.

    Thread Starter youmound

    (@youmound)

    I don’t think I understood you. Should I remove the slim version or add me?

    Ramona

    (@nextend_ramona)

    Remove the slim version from your theme, and replace it with the non-slim version of jQuery.

    So at the end your theme doesn’t load jquery-3.3.1.slim.min.js but jquery-3.3.1.min.js

    Thread Starter youmound

    (@youmound)

    Ok,

    I add: <script src="<?php bloginfo('template_url'); ?>/js/jquery-3.5.1.min.js"></script>

    and all work :), thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Smart slider – has stopped displaying photos’ is closed to new replies.