Javascript errors running Smartslider 3.3

Home Forums SKT Biz/Corp Theme Support Javascript errors running Smartslider 3.3

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #102303
    FORMAFORMA
    Participant
    • Topics: 9
    • Replies: 13
    • Total: 22
    Member since: January 2, 2016

    Dear Sirs
    after updating the plugin Smartslider to the new version 3.3, the slider on my site (Solar Energy PRO 1.0) stopped working.
    I contacted the support of Nextend and they answered the following:
    “Currently on your site: https://seasolargroup.com/
    I can see a JavaScript error, which you can check like this: https://smartslider3.helpscoutdocs.com/article/318-chrome
    the error is:
    Uncaught TypeError: jQuery(…).nivoSlider is not a function
    and it’s coming from this file of your theme: https://seasolargroup.com/wp-content/themes/solar-energy/assets/js/complete.js
    JavaScript errors are stopping every other JavaScript code on the page, including our slider’s codes, so they need to be solved. If you aren’t sure how to fix this error, I suggest contacting your theme developers as the error is coming from them, they should be able to help.”
    Thanks in advance

    #102307
    FORMAFORMA
    Participant
    • Topics: 9
    • Replies: 13
    • Total: 22
    Member since: January 2, 2016

    Dear All,

    the problem shall be solved with the following change in the complete.js :

    var isSafari = !!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/);
    “iOS” == getMobileOperatingSystem() ? jQuery(“body”).addClass(“is-ios”) : jQuery(“body”).addClass(“not-ios”), 1 == isSafari && jQuery(“body”).addClass(“is_safari”), jQuery(window).load(function() {
    /*jQuery(“#slider”).nivoSlider()*/
    }),

    Andrea

    #102340
    Sonnal S SinhaSonnal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6964
    • Total: 6974
    Member since: June 12, 2013

    Hi Andrea,

    Glad that you found the solution.

    Regards,
    Shri

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.