I am trying to: I have multilingual site but i often get Error and my menu doesn't works as it should be. My submenu are not displayed.
i get JS error Uncaught TypeError: DDLayout.EmbeddedManager is not a constructor.
Link to a page where the issue can be seen: lien caché
I expected to see: submenu but sometime it doesn't works.
Instead, I got: js error Uncaught TypeError: DDLayout.EmbeddedManager is not a constructor
There are several JS errors on that page, before you click on any menu.
It seems the carousel is the issue:
Uncaught TypeError: $(...).carousel is not a function
at HTMLDocument.<anonymous> ((index):206)
at l (jquery.min.js:4)
at Object.fireWith [as resolveWith] (jquery.min.js:4)
at Function.ready (jquery.min.js:4)
at HTMLDocument.S (jquery.min.js:4)
I think this is a compatibility issue.
Please try to disable all plugins but Toolset, and use a WordPress native Theme.
The issue should then be gone.
After, please re-activate each plugin one by one so to see if one of them is the responsible.
If not, at the end re-activate the theme, which should then bring back the issue.
Please report to me what software is causing the issue.
I fixed the issue by moving the ready code at bottom of the file.