[Support request] Script error on my site

Home Forums Support [Support request] Script error on my site

Home Forums Support Script error on my site

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #573027
    Patrick

    Hello Tom,
    on my website there is a script error which seems to be caused by generate press.

    The error message is:
    Uncaught TypeError: Cannot read property ‘destroy’ of undefined

    I traked it down to this script:
    <script>
    jQuery( window ).load( function() {
    jQuery( ‘.sf-menu .menu-item-has-children’ ).GenerateDropdownMenu.destroy();
    jQuery( ‘.sf-menu .menu-item-has-children’ ).GenerateDropdownMenu({
    transition_speed: 0,
    open_delay: 0,
    close_delay: 0
    });
    });
    </script>

    Could you help me here?

    #573092
    David
    Staff
    Customer Support

    Hi Patrick, GP doesn’t use jQuery so must be a plugin creating the problem.
    Can you try step one of this:

    https://docs.generatepress.com/article/debugging-tips/

    If still an issue then please add a link to your site so we can have a look

    #573371
    Leo
    Staff
    Customer Support

    Double check that you are using the latest versions as well 🙂

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