[Support request] Order Confirmation Page (Checkout) PHP Deprecated notice

Home Forums Support [Support request] Order Confirmation Page (Checkout) PHP Deprecated notice

Home Forums Support Order Confirmation Page (Checkout) PHP Deprecated notice

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2315510
    johnaps

    Hello!

    I found these 2 deprecated notices with wp_debug on on the confirmation page after you complete an order!

    Deprecated: The get_used_coupons function is deprecated as of version 3.7! Use WC_Abstract_Order::get_coupon_codes instead. in /www/testsofi4nos0rth0new_646/public/wp-includes/functions.php on line 5379

    Deprecated: WC_Abstract_Legacy_Order::get_product_from_item function is deprecated as of version 4.4.0! Use $item->get_product() instead. in /www/testsofi4nos0rth0new_646/public/wp-includes/functions.php on line 5379

    Do you know about this, i found out from other woocommerce threads that this probably means that some theme template files are outdated…?

    #2315535
    David
    Staff
    Customer Support

    Hi there,

    GP doesn’t load any Woocommerce templates. And neither of those deprecated callbacks are used by GP Premium.

    If you’re using a Child Theme to add custom woo templates like emails, invoices etc. then check those.
    Or it will be a plugin or custom function.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.