Skip Navigation

[Resolved] Uncaught TypeError: DDLayout.EmbeddedManager is not a constructor

This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 2 replies, has 2 voices.

Last updated by PedroGDiaz 7 years ago.

Assisted by: Beda.

Author
Posts
#597228
G9LjPpjTSlisUSCsc6pAMA.png

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: hidden link

I expected to see: submenu but sometime it doesn't works.

Instead, I got: js error Uncaught TypeError: DDLayout.EmbeddedManager is not a constructor

#597329

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.

#597441

I fixed the issue by moving the ready code at bottom of the file.