Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Support request] jQuery error on GenerateDropdownMenu

Home Forums Support [Support request] jQuery error on GenerateDropdownMenu

Home Forums Support jQuery error on GenerateDropdownMenu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #521058
    Aaron Harms

    Hey Tom,

    In my console, I’m seeing an error that says, “Uncaught TypeError: Cannot read property ‘destroy’ of undefined”. The error is found within these lines of code:

    <script>
        jQuery( window ).load( function() {
            jQuery( '.sf-menu .menu-item-has-children' ).GenerateDropdownMenu.destroy();
            jQuery( '.sf-menu .menu-item-has-children' ).GenerateDropdownMenu({
                    transition: 'slide', // or 'fade'
                    transition_speed: 200,
    		open_delay: 200,
    		close_delay: 200
            });
        });
    </script>

    I believe this error is causing a conflict with another plugin (WP Jobs Manager) and causing an issue with that plugin.

    Any ideas on what I need to do to fix this?

    Thanks,
    Aaron

    GeneratePress 2.0.2
    GP Premium 1.5.6
    #521140
    Leo
    Staff
    Customer Support

    Hi there,

    So the error disappear when you deactivate WP Jobs Manager?

    If so can you try contacting their support first to make sure there is no error on their end?

    Let me know 🙂

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