Startseite › Toolset Professional Support › [Gelöst] Layouts 1.8.6 Still Has Problems – WPML simple_language_selector Select 2
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.
This topic contains 5 Antworten, has 2 Stimmen.
Last updated by George vor 5 Jahre, 3 Monate.
Assigned support staff: Nigel.
When editing Layouts, I am still getting errors / not able to save layouts still. Error seems to be related to WPML language switcher on backend:
The toolset_select2('destroy') method was called on an element that is not using Select2. - /plugins/layouts/inc/gui/editor/js/ddl-wpml-box.js
Uncaught TypeError: WPML_Core.simple_language_selector.initialize_toolset_select2 is not a function
Please please please try to fix this bug ASAP. Have been waiting to update for weeks now, but things keep breaking on our dev site. We're stuck on a CRED version with problems because of this.
Englisch (English )
Spanisch (Español )
I created a test installation locally with the latest Toolset and WPML plugins installed and was eventually able to recreate the problem shown in your screenshot.
I have escalated this thread to our second tier for further investigation and will report back to you as soon as there are any developments.
Thanks for your patience.
You said ASAP, so I'm reporting the findings here.
You can apply this fix yourself, or wait until an errata with a patch is prepared or the next release is published.
You need to locate line 49 of the file: layouts/inc/gui/editor/js/ddl-wpml-box.js
and change this:
If you do update it yourself please let me know whether that fixes the error, thanks.
Thank you Nigel! I'm going to apply this and report back. A+
Great, let me know how you get on.
Works great Nigel. Thank you!
Bekannte Fehler und Lösungen
Häufig gestellte Support-Fragen
Erhalten Sie Hilfe von erfahrenen Dienstleistern
Lernen Sie das Toolset-Support-Team kennen
Sie müssen uns etwas über die Qualität des Supports mitteilen
So entfernen Sie personenbezogene Daten aus Ihrer Datenbank für den Support