Problem with WPML
Hi, when I try to install a pre designed site (https://themes.muffingroup.com/be/bistro3/) I get the following fatal error:
Ein Fehler vom Typ E_ERROR wurde in der Zeile 34 der Datei xxx/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-set-language.php verursacht. Fehlermeldung: Uncaught InvalidArgumentException: element_id and type do not match for element_id:2 the database contains tax_category while this function was called with tax_nav_menu in xxx/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-set-language.php:34
Stack trace:
#0 xxx/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(1554): WPML_Set_Language->set('2', 'tax_nav_menu', NULL, 'de', NULL, true)
#1 xxx/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/class-wpml-nav-menu.php(200): SitePress->set_element_language_details('2', 'tax_nav_menu', NULL, 'de')
#2 xxx/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/class-wpml-nav-menu.php(82): WPML_Nav_Menu->_set_menus_language()
#3 xxx/wp-includes/class-wp-hook.php(287): WPML_Nav_Menu->init('')
#4 /www/htdocs
Thank you for your help
Comments
Hello,
Please, turn off all of the plugins except the required ones for that pre-built website, and check if this error still apperas.
Thanks