WPML error

Hello I just installed the theme and when I ativate WPML I receive this error when logging in the backend:

Fatal error: 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 /home/degaht/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-set-language.php:32 Stack trace: #0 /home/degaht/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(1502): WPML_Set_Language->set('2', 'tax_nav_menu', NULL, 'it', NULL, true) #1 /home/degaht/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/class-wpml-nav-menu.php(201): SitePress->set_element_language_details('2', 'tax_nav_menu', NULL, 'it') #2 /home/degaht/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/wp-nav-menus/class-wpml-nav-menu.php(82): WPML_Nav_Menu->_set_menus_language() #3 /home/degaht/public_html/wp-includes/class-wp-hook.php(287): WPML_Nav_Menu->init('') #4 /home/degaht/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) in /home/degaht/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-set-language.php on line 32

Thank you 

Comments

Sign In or Register to comment.