Important notice: we will respond to all open ticket requests up until November the 1st. After this date, we will be unable to process the ticket requests here on Ticksy.

Okay
  Public Ticket #1780532
WooCommerce Multilingual
Closed

Comments

  • Borre Holli started the conversation

    I get this error when enabling "WPML String Translation" and clicking "Apply now" and "View cart" on a course: https://alfaskolen.wphotell.no/en/course/a1-1-norwegian-course-for-beginners/

    I have turned on/off all plugins/themes, fresh installed WPML and only when I turn off "WPML String Translation"-plugin gives positive result, but then I loose the multilingual features.

    Url


    Fatal error: Uncaught TypeError: Argument 2 passed to WCML_Cart::validate_cart_item_data() must be an instance of WC_Product, instance of WC_Product_Course given, called in /home/server56/public_html/alfaskolen.no/wp-includes/class-wp-hook.php on line 286 and defined in /home/server56/public_html/alfaskolen.no/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-cart.php:393 Stack trace: #0 /home/server56/public_html/alfaskolen.no/wp-includes/class-wp-hook.php(286): WCML_Cart->validate_cart_item_data(Array, Object(WC_Product_Course)) #1 /home/server56/public_html/alfaskolen.no/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /home/server56/public_html/alfaskolen.no/wp-content/plugins/woocommerce/includes/wc-cart-functions.php(490): apply_filters('woocommerce_car...', Array, Object(WC_Product_Course)) #3 /home/server56/public_html/alfaskolen.no/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(115): wc_get_cart_item_data_hash(Object(WC_Product_Course)) #4 /home/server56/public_html in /home/server56/public_html/alfaskolen.no/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-cart.php on line 393

  •  1,845
    Elated replied

    Hi there,

    Welcome to your support management and thank you for choosing our theme!

    Can you provide us admin credentials so we can take a look at this issue? In the meantime, check with your hosting provider which PHP version and PHP resources do you have. Requirements for the theme to have successful installation and demo import are:

    1. PHP version should be between 5.6. and 7.2.

    2. PHP resources should be:

    max_execution_time = 300;
    memory_limit = 128M;
    upload_max_filesize = 128M;
    post_max_size = 256M;
    max_input_vars = 3000;

    If the values are lower that the requirements, please ask them to increase it for you.

    Looking forward to hearing from you!

    Best regards,

    Marie


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  •   Borre Holli replied privately
  •  1,845
    Elated replied

    Hi there,

    We are so sorry for the late response, we are handling a lot of tickets these days and the weekend days are behind us.

    I just went to the cart to see if the issue is present, but we couldn't replicate this on our side. 

    Also, plugin is on.

    I tried to add few courses also, but couldn't replicate the issue. 

    Did you manage to solve this? Let us know! 

    Best regards,

    Marie


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • Borre Holli replied

    I am sorry for my absence on this. I have been thinking about what to do.

    The problem seems to be "WooCommerce Multilingual" and the lack of support for this plugin in your theme Academist. So what I am thinking now is do we need "WooCommerce Multilingual" to make our site multilingual? We have WPML?

    We are supposed to have 5-7 languages for the site but only one currency in woocommerce.

    Would be great if I could get your thought on this :)

  •  1,845
    Elated replied

    Hi there,

    We are so sorry for the late response, we are handling a lot of tickets these days and the weekend days are behind us.

    You can use WPML for translating the whole site and also every plugin, in this case WooCommerce in several languages.

    Also, you can leave your currency to be the same on every language. 

    Let us know if you have any other questions! 

    Best regards,

    Marie


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.