• Resolved gnrhs

    (@gnrhs)


    Works great on desktop AND it works great on mobile if I start anywhere but the home page. Yep, I checked your support post first and this forum. My themes footer.php file indeed has a call to wp_footer() in it. I do see JS errors in console on desktop, but they relate to MegaMenu itself so I’m not sure what to do:

    Uncaught TypeError: Cannot read properties of undefined (reading ‘apply’)
    at e. as unique
    at s.fn.init.find (jquery.min.js:2:23691)
    at new $.universalMegaMenu (mgmenu.js:36:40)
    at HTMLDivElement. (mgmenu.js:330:30)
    at Function.each (jquery.min.js:2:2975)
    at s.fn.init.each (jquery.min.js:2:835)
    at $.fn.universalMegaMenu (mgmenu.js:326:21)
    at HTMLDocument. ((index):139:17)
    at j (jquery.min.js:2:27295)
    at Object.fireWith as resolveWith

    Thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi,

    The errors are coming from this file:

    https://gnrhs.org/js/mgmenu.js

    That is not part of our plugin, and it’s not in the usual wp-content/plugins/ directory. It looks like it’s been added directly to your server and manually enqueued in your theme. Can you try removing it?

    Regards,
    Tom

    Thread Starter gnrhs

    (@gnrhs)

    Thanks for the quick response. Removed the file but still getting the errors. Hmm.

    Plugin Author megamenu

    (@megamenu)

    Hi,

    It is coming from this code, which should be removed:

    2023-01-23_10-50-19

    Regards,
    Tom

    Thread Starter gnrhs

    (@gnrhs)

    Done. But no joy on mobile.

    Plugin Author megamenu

    (@megamenu)

    Hi,

    Please check the console, there is another error (not related to MMM), possibly because you are loading an old custom version of jQuery.

    Regards,
    Tom

    hi
    Can you please check my site?
    adress : katpoosh.com

    i have good ui in desktop but its doesnt load good in mobile version

    Thread Starter gnrhs

    (@gnrhs)

    Thank you Tom, we fixed the problem, your hints made all the difference!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Mobile menu doesn’t work’ is closed to new replies.