• Resolved cfm168

    (@cfm168)


    Hello,

    I got this PHP error log:
    The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.

    What is REST API use for?

    How can fix the error?

    Please kindly advise and help. Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @cfm168!

    What is REST API use for?

    In simple terms, in this case, REST API is for making integrations or plugins; it requests information it needs from WooCommerce and provides then a response or product with it.

    How can fix the error?

    There’s a report for that bug on Github, and a fix is coming within the next WooCommerce core update (6.6.0). Read more on this thread:

    https://github.com/woocommerce/woocommerce/issues/32863

    I hope this helps!

    Hi there,

    We haven’t heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, the provided information was helpful, and we answered your queries. If you have any further questions, we recommend creating a new thread.

    Cheers!

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