• Resolved ethicpc

    (@ethicpc)


    Hi,
    i have an js error when i use Mega Menu on mobile view :

    TypeError: Cannot read properties of undefined (reading ‘slice’)

    The menu is not showing when i click on it.

    I’m using divi but i’m not using the default header, i use my own.

    Please help 😉

    Thanks

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

    (@megamenu)

    Hi ethicpc,

    The error doesn’t sound like it is coming from our plugin (we do not use “slice”).

    Which file is the error coming from?

    Regards
    Tom

    Thread Starter ethicpc

    (@ethicpc)

    Hi,

    the error come from Divi js file, but i have this error only when Max mega menu is enable on my menu.

    Can you help ?

    Plugin Author megamenu

    (@megamenu)

    Hi ethicpc,

    I think you may need to ask Divi, as we have many (probably thousands) of users using Divi without the same issue.

    But I can take a quick look if you can post a link to your site.

    Regards,
    Tom

    Thread Starter ethicpc

    (@ethicpc)

    Hi,

    I asked divi too, but they tell me that when I deactivate the plugin, I no longer have the error, so it has to come from the plugin..

    Thanks for your help

    https://www.maisonbelema.fr/`

    Plugin Author megamenu

    (@megamenu)

    Thanks, Please remove the coming soon page so I can see it.

    Regards,
    Tom

    Thread Starter ethicpc

    (@ethicpc)

    Hi, it’s ok i’ve removed the coming soon page, but i cant keep the site without it for a long time 😉

    Thanks 😉

    Plugin Author megamenu

    (@megamenu)

    Thanks. I see you still have the Divi mobile toggle displaying (rather than our one), to fix it please follow these instructions:

    https://www.megamenu.com/documentation/divi-4/

    Regards,
    Tom

    Thread Starter ethicpc

    (@ethicpc)

    Hi!
    it seems to work !
    I’ll take a look tonight!

    Thank you very much!
    Great plugin and great support!

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Error on mobile Js : cannot read properties’ is closed to new replies.