Skip Navigation

[Résolu] Uncaught TypeError: DDLayout.EmbeddedManager is not a constructor

This support ticket is created Il y a 6 années et 12 mois. 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)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par PedroGDiaz Il y a 6 années et 12 mois.

Assisté par: Beda.

Auteur
Publications
#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: 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

#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.