• Resolved haroldelfring

    (@haroldelfring)


    Hello I get an error when activating the woocommerce multilanguage module.

    Can anybody help?

    Details:

    Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘element_id and type do not match’ in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-set-language.php:26 Stack trace: #0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(1643): WPML_Set_Language->set_element_language_details(‘763’, ‘post_product_va…’, false, ‘nl’, NULL, true) #1 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(4600): SitePress->set_element_language_details(‘763’, ‘post_product_va…’, false, ‘nl’) #2 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-tm-settings-update.php(58): SitePress->verify_post_translations(‘product_variati…’) #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-tm-settings-update.php(73): WPML_TM_Settings_Update->sync_settings(Array) in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-set-language.php on line 26

    Using WordPress 4.4.1
    Plugins:
    Contact Form 7
    Instellingen | Deactiveren
    Gewoon nog een contactformulier plugin. Simpel maar flexibel.

    Versie: 4.3.1 | Door Takayuki Miyoshi | Details bekijken
    Google Analytics door Yoast selecteren
    Google Analytics door Yoast
    Instellingen | FAQ | Deactiveren
    Deze plugin maakt het makkelijker om Google Analytics toe te voegen aan de WordPress site, waarbij vele mogelijkheden toegevoegd worden, zoals een foutpagina, zoekresultaten en automatische uitgaande links en download tracking.

    Versie: 5.4.6 | Door Team Yoast | Details bekijken
    WooCommerce selecteren
    WooCommerce
    Settings | Deactiveren
    An e-commerce toolkit that helps you sell anything. Beautifully.

    Versie: 2.4.12 | Door WooThemes | Details bekijken | Docs | API Docs | Premium Support
    WP-Mail-SMTP selecteren
    WP-Mail-SMTP
    Settings | Deactiveren | Bewerken
    Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings.

    Versie: 0.9.5 | Door Callum Macdonald | Details bekijken
    WPML Media selecteren
    WPML Media
    Deactiveren | Geregistreerd
    Add multilingual support for Media files

    Versie: 2.1.18 | Door OnTheGoSystems | Bezoek plugin site
    WPML Multilingual CMS selecteren
    WPML Multilingual CMS
    Deactiveren | Configureren | Geregistreerd
    WPML Multilingual CMS | Documentation | WPML 3.3 release notes

    Versie: 3.3.5 | Door OnTheGoSystems | Bezoek plugin site
    WPML String Translation selecteren
    WPML String Translation
    Deactiveren | Configureren | Geregistreerd
    Adds theme and plugins localization capabilities to WPML | Documentation | WPML 3.2 release notes

    Versie: 2.3.5 | Door OnTheGoSystems | Bezoek plugin site
    WPML Translation Management selecteren
    WPML Translation Management
    Deactiveren | Configureren | Geregistreerd
    Add a complete translation process for WPML | Documentation | WPML 3.2 release notes

    Versie: 2.1.4 | Door OnTheGoSystems | Bezoek plugin site
    Yoast SEO selecteren
    Yoast SEO
    FAQ | Premium-ondersteuning | Instellingen | Deactiveren
    De eerste echte alles-in-één SEO-oplossing voor WordPress, inclusief analyse per pagina, XML-sitemaps en veel meer.

    Versie: 3.0.7 | Door Team Yoast | Details bekijken

    https://wordpress.org/plugins/woocommerce-multilingual/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,
    This is known issue for us and it is in WPML itself and our developers are already working on fixing this case.
    As a workaround, i would recommend you to delete the product that has the variation with ID 763 (as noted in your error log).

    Please remember to backup your database first before you proceed! You can use a plugin for this if you like (example: http://wordpress.org/plugins/duplicator/)

    We released a new beta of WPML that should fix this kind of error.
    You can download that beta version from WPML site in Account > Downloads – at the bottom of the list – CMS Beta

    Please remember to backup your database first before you proceed.

    I am closing this ticked due to inactivity.
    I hope that you were able to resolve the problem.
    In my tests for such issues, the latest current release of WPML 3.3.6 and WooCommerce Multilingual 3.7.9, this issue is no longer happening.
    I hope that this is the case for you too.

    Thread Starter haroldelfring

    (@haroldelfring)

    Yes it is. Yesterday I installed the latest releases and it works fine again.
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error when activate woocommerce multilanguage / wpml’ is closed to new replies.