• Resolved Nico Marcuz

    (@nick7766)


    Wir haben nachdem wir heute ein neues Produkt angelegt haben diesen Fehler in unserem PHP ErrorLog gefunden.

    [10-Apr-2023 08:19:24 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.

    thnx for helping in advance

    Nick

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @nick7766

    Thanks for reaching out!

    I understand that you are receiving the error message above after creating a new product on your site, correct?

    Deprecated functions are those that are no longer recommended for use and may be removed in future updates.

    Can you please confirm if this is happening to all newly created products on your site? Do you remember if there are any changes or updates made on your site prior to this issue?

    For us to investigate your issue further, I’d like to understand your site properly. Please share your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Thanks!

    Thread Starter Nico Marcuz

    (@nick7766)

    Hello @xue28 !

    Many thanks for your feedback. Yes, the “error” occurs with every new product we create and is ultimately reflected in our Php ErrorLog. WooCommerce itself does not generate a fatal error under WooCommerce > Status > Logs.

    Also, we have not made any significant changes to the system.

    However, we have seen that there is already an entry on Github on this topic.

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

    In this respect, the error should already be known on the WooCommerce side. Or am I wrong?

    Under these circumstances, do you still need our system status report under WooCommerce > Status?

    best regads

    Nico

    Saif

    (@babylon1999)

    Hello @nick7766,

    The bug was resolved in version 6.5 per this pull request: https://github.com/woocommerce/woocommerce/pull/32891

    If you are using an outdated version of WooCommerce, you can simply update. Since you are upgrading from a significantly outdated release, I recommend creating a backup of your site as a precaution.

    In the event that you continue to experience this bug even with the latest release, please open a report on GitHub from here. Ensure that you follow the instructions when reporting.

    Cheers!

    Hello,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘get_options-function-is-deprecated’ is closed to new replies.