• Resolved mbgrafik

    (@marcobecker)


    Hi Guys,

    i just set up a test page for WC 2.7 beta 1

    Notices:
    post was called incorrectly. Product properties should not be accessed directly. Please see Debugging in WordPress for more information. (This message was added in version 2.7.)

    wc_doing_it_wrong()
    wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-legacy-product.php:68
    WC_Abstract_Legacy_Product->__get()
    wp-content/plugins/woocommerce-multilingual/inc/class-wcml-cart.php:354
    WCML_Cart->translate_cart_contents()
    wp-includes/class-wp-hook.php:300
    apply_filters(‘woocommerce_get_cart_item_from_session’)
    wp-content/plugins/woocommerce/includes/class-wc-cart.php:247
    WC_Cart->get_cart_from_session()
    wp-content/plugins/woocommerce/includes/class-wc-cart.php:159
    WC_Cart->init()
    wp-includes/class-wp-hook.php:298
    do_action(‘wp_loaded’)
    wp-settings.php:47

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter mbgrafik

    (@marcobecker)

    i also get “Invalid or duplicated SKU.” on existing products.

    Thread Starter mbgrafik

    (@marcobecker)

    and there is another php notice (wc_doing_it_wrong) when i view the orders:
    i changed these lines in class-wcml-wc-strings

    if( isset($product->id) ){
    $product_id = $product->get_id(); //actually it’s $product->id
    }elseif( is_numeric( $product_obj ) ){
    $product_id = $product_obj;
    }elseif( isset($product_obj->id) ){
    $product_id = $product_obj->get_id(); //actually it’s $product_id = $product_obj->id
    }

    Hello,

    Could you tell me what are the versions of WCML and WPML plugins installed on your site?

    You need to make sure that the other required plugins are installed:

    WPML Multilingual CMS
    WPML String Translation
    WPML Translation Management
    WPML Media

    By the time WC 2.7 is out officially, WCML will be compatible as well.

    Thread Starter mbgrafik

    (@marcobecker)

    All Plugins are up to date, thats the aim of a test-site ??
    WC 2.7 is scheduled for February thats 1 month away, so i’m testing it atm to prevent any problem’s. I’m sure the wcml team will do a good job ??

    • This reply was modified 8 years, 2 months ago by mbgrafik.

    @marcobecker We released a new version of WooCommerce Multilingual that should be compatible with the current release candidate of WooCommerce 2.7 so I think we are well prepared for the upcoming release.

    Thread Starter mbgrafik

    (@marcobecker)

    Hi George,

    thank you for the info, i already installed the update. Great ??

    Only 1 thing:

    The invalid or duplicated sku message still appears. Is it possible to suppress it?

    Thread Starter mbgrafik

    (@marcobecker)

    oh, and off cause i learned something: i won’t bother you again with any beta version stuff. :/ sorry for that ??

    A very crude method would be to use something like this:
    add_filter( 'wc_product_has_unique_sku', false, false, false );
    in your functions.php file in your theme until this is fixed in WooCommerce Multilingual.

    Thread Starter mbgrafik

    (@marcobecker)

    no problem, i had this solution in mind, but i prefer to wait, since this would disable the unique sku check completely.

    Thread Starter mbgrafik

    (@marcobecker)

    Great work, thank you ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Woocommerce 2.7 beta’ is closed to new replies.