Announcement

Collapse
No announcement yet.

Slick slickSetOption is not a function error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Slick slickSetOption is not a function error

    We are using Levels Ready Theme and we are getting the below error when view a product. It is related to the changing the thumbnails.

    Code:
    Uncaught TypeError: $(...).slickSetOption is not a function at scripts.js:659:24
    Is there any update to the scripts.js file in which below code exists.

    Code:
    $(window).resize( function() {
    $('#js-thumbnails').slickSetOption(null,null,true);
    });
    Thanks
    Keyboard Not Found..... Press F1 to continue

    #2
    That does not appear to be the stock code for Levels. Although the Levels ReadyTheme has been sunset, you may want to contact support and see if they can assist.
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #3
      Hi Matt,

      Thanks for the reply and will contact the support. But the code in question is from the theme folder theme/js/scripts.js

      Keyboard Not Found..... Press F1 to continue

      Comment


        #4
        I'll amend my previous comment, that is probably the original code for Levels, however it had been updated at one point to use a debounce function when resizing to help prevent errors and shifting.
        Matt Zimmermann

        Miva Web Developer
        Alchemy Web Development
        https://www.alchemywebdev.com
        Site Development - Maintenance - Consultation

        Miva Certified Developer
        Miva Professional Developer

        https://www.dev4web.net | Twitter

        Comment


          #5
          Hi Matt,

          Where can I download the updated version. I went to the GitHub page of the theme but that only contains PHP removal update zip which has details about PHP removal only

          Thanks again for your help
          Keyboard Not Found..... Press F1 to continue

          Comment


            #6
            Unfortunately, we do not have a repository for the legacy ReadyThemes. Support should be able to assist.
            Matt Zimmermann

            Miva Web Developer
            Alchemy Web Development
            https://www.alchemywebdev.com
            Site Development - Maintenance - Consultation

            Miva Certified Developer
            Miva Professional Developer

            https://www.dev4web.net | Twitter

            Comment


              #7
              No worries and thanks
              Keyboard Not Found..... Press F1 to continue

              Comment

              Working...
              X