• Resolved Yuki

    (@yuklintang)


    Hello there,

    I have an error in my woocommerce cart :

    Notice: WC_Product::get_variation_id is deprecated since version 3.0! Use WC_Product::get_id(). It will always be the variation ID if this is a variation. instead. in /home3/girlsfev/public_html/wp-includes/functions.php on line 3830

    it’s coming from your plugin, any idea how to fix this?

    Thank you so much,
    Yuki

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Dan

    (@dangoodman)

    Hello Yuki,

    Thank you for the report. This will be fixed in the next plugin update.

    You can just ignore the notice since it doesn’t break anything.

    If you see that in production you should disable wordpress debug mode, i.e. set WP_DEBUG to false in wp-config.php.

    Thread Starter Yuki

    (@yuklintang)

    thank you so much!

    Thread Starter Yuki

    (@yuklintang)

    Hello there,

    I still have error in my cart when the order is placed, this error is showing up in my back end in woocommse order form:
    Notice: WC_Order::get_item_meta is deprecated since version 3.0! Use wc_get_order_item_meta instead. in /home3/girlsfev/public_html/wp-includes/functions.php on line 3830

    now I received orders, the items are 0.00 usd and my customers only pay the shipping fee now. In result I have to cancel their order.

    My other language shop do not have this problem, but my English site does :
    https://www.girlsfever.com

    What do you think it could be the problem that your plugin causes?

    Thanks,

    Yuki

    Do you know why?

    Plugin Author Dan

    (@dangoodman)

    Hi Yuki,

    The plugin doesn’t need item meta data and thus doesn’t call the method. Why do you think the issue is related to the plugin? You can disable it and check if the issue persists.

    Thread Starter Yuki

    (@yuklintang)

    yes, will do that, thanks for your reply!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘error in cart’ is closed to new replies.