• Resolved shashikant91

    (@shashikant91)


    Hi Team,

    On our website we are getting below logs getting logged in the Log file of file manager.

    Could you please help us understand this & let us know how can this be fixed?

    [03-Jun-2022 05:50:22 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.
    [03-Jun-2022 05:52:14 UTC] The WC_Cart::get_checkout_url function is deprecated since version 2.5. Replace with wc_get_checkout_url.

    Thanks
    Shashikant

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello Shashikant!

    Thanks for reaching out!

    On our website we are getting below logs getting logged in the Log file of file manager.

    Could you please help us understand this & let us know how can this be fixed?

    The first error Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1. is a known issue and is being tracked on GitHub here.

    Please have a look at a similar thread here.

    The second error The WC_Cart::get_checkout_url function is deprecated since version 2.5. Replace with wc_get_checkout_url also has an entry here and conducting a theme/plugin test as laid out here should pinpoint what is causing the issue.

    Hope this helps! Let us know how it turns out!

    We haven’t heard back from you in a while, (I think that at this point you have been able to find a solution) so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Errors getting logged in the Log File – Depreciated’ is closed to new replies.