Site logo

Archived topic

jQuery error on GenerateDropdownMenu

1 reply · Started by Aaron Harms on March 15, 2018

Viewing posts 1–2 of 2

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

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 :)

This archived topic is closed to new replies.