• Resolved Tony Hisir

    (@copperrefections)


    Hi,

    Can you please help me fix this error?

    [24-Dec-2023 19:53:54 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.

    Thank you,

    Tony Hisir

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @copperrefection,

    The error message you’re seeing is indicating that the function “Automattic\WooCommerce\Admin\API\Options::get_options” you’re currently using has been deprecated since WooCommerce version 6.3. This means that the function is no longer supported.

    I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    System Status Report, which you can find via WooCommerce > Status > Get system report > Copy for support.
    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.

    Once we have more information, we’ll be able to assist you further.

    Thread Starter Tony Hisir

    (@copperrefections)

    Hi, Thank you. Here is the System report

    ` WordPress Environment
    
    WordPress address (URL): https://www.copperreflections.com
    Site address (URL): https://www.copperreflections.com
    WC Version: 8.4.0
    REST API Version: ✔ 8.4.0
    WC Blocks Version: ✔ 11.6.2
    Action Scheduler Version: ✔ 3.7.0
    Log Directory Writable: ✔
    WP Version: 6.4.2
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: –
    Language: en_US
    External object cache: ✔ Server Environment
    
    Server Info: LiteSpeed
    PHP Version: 8.2.13
    PHP Post Max Size: 512 MB
    PHP Time Limit: 1200
    PHP Max Input Vars: 3000
    cURL Version: 7.87.0
    OpenSSL/1.1.1w
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.35
    Max Upload Size: 512 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔ Database
    
    WC Database Version: 8.4.0
    WC Database Prefix: wp_
    Total Database Size: 299.34MB
    Database Data Size: 218.42MB
    Database Index Size: 80.92MB
    wp_woocommerce_sessions: Data: 33.08MB + Index: 2.11MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 2.52MB + Index: 0.48MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 14.52MB + Index: 12.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.06MB + Index: 0.13MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_avatar: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_crawler: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_crawler_blacklist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_img_optm: Data: 3.52MB + Index: 0.77MB + Engine InnoDB
    wp_litespeed_img_optming: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_litespeed_url: Data: 2.52MB + Index: 2.78MB + Engine InnoDB
    wp_litespeed_url_file: Data: 3.52MB + Index: 7.44MB + Engine InnoDB
    wp_options: Data: 9.50MB + Index: 1.31MB + Engine InnoDB
    wp_postmeta: Data: 89.61MB + Index: 32.11MB + Engine InnoDB
    wp_posts: Data: 13.52MB + Index: 2.50MB + Engine InnoDB
    wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_redirection_items: Data: 0.09MB + Index: 0.16MB + Engine InnoDB
    wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_term_relationships: Data: 4.52MB + Index: 2.52MB + Engine InnoDB
    wp_term_taxonomy: Data: 1.52MB + Index: 0.75MB + Engine InnoDB
    wp_termmeta: Data: 1.52MB + Index: 0.70MB + Engine InnoDB
    wp_terms: Data: 1.52MB + Index: 0.97MB + Engine InnoDB
    wp_usermeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB
    wp_users: Data: 0.13MB + Index: 0.14MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 4.52MB + Index: 3.52MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.50MB + Index: 0.70MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfblockediplog: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.47MB + Index: 0.33MB + Engine InnoDB
    wp_wfconfig: Data: 1.47MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 7.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.23MB + Index: 0.05MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.13MB + Index: 0.03MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wfsecurityevents: Data: 0.16MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.16MB + Index: 0.11MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wsmea_conditional_payment_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 10.52MB + Index: 3.61MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 1.52MB + Index: 0.94MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.11MB + Index: 0.11MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.42MB + Index: 0.19MB + Engine InnoDB Post Type Counts
    
    aiosrs-schema: 3
    attachment: 5727
    blocks: 3
    cms_block: 19
    custom_css: 3
    dflip: 5
    getgenie_history: 3
    mc4wp-form: 1
    nav_menu_item: 86
    oembed_cache: 9
    page: 62
    post: 149
    postman_sent_mail: 55
    product: 5111
    rank_math_schema: 2
    review: 1
    revision: 59
    saswp: 3
    schema: 3
    shop_order: 816
    woodmart_sidebar: 2
    wpcf7_contact_form: 2
    wppb-ul-cpt: 1 Security
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔ Active Plugins (17)
    
    WooCommerce Wholesale Pricing: by Danyo Borg – 2.2.2
    Classic Editor: by WordPress Contributors – 1.6.3
    CMB2: by CMB2 team – 2.10.1
    Contact Form 7: by Takayuki Miyoshi – 5.8.5
    Specific checkout for wholesale customers: by Curran Van Waarde –
    WPBakery Page Builder: by Michael M - WPBakery.com – 7.3
    LiteSpeed Cache: by LiteSpeed Technologies – 6.0.0.1
    Profile Builder Basic: by Cozmoslabs – 3.9.9
    Profile Builder: by Cozmoslabs – 3.10.8
    Really Simple CAPTCHA: by Takayuki Miyoshi – 2.2
    Redirection: by John Godley – 5.3.10
    CTX Feed: by WebAppick – 6.3.10
    WooCommerce Stripe Gateway: by WooCommerce – 7.8.0
    WooCommerce: by Automattic – 8.4.0
    Wordfence Security: by Wordfence – 7.11.0
    Yoast SEO: by Team Yoast – 21.7
    Yoast SEO: WooCommerce: by Team Yoast – 16.0 Inactive Plugins (0) Dropin Plugins (2)
    
    maintenance.php: maintenance.php
    object-cache.php: object-cache.php Settings
    
    API Enabled: ✔
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    exclude-from-search (exclude-from-search-2)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-4 (rated-4-2)
    rated-5 (rated-5)
    
    Connected to Woo.com: –
    Enforce Approved Product Download Directories: –
    HPOS feature screen enabled: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: – WC Pages
    
    Shop base: #7 - /shop/
    Cart: #8 - /cart/
    Checkout: #9 - /checkout/
    My account: ❌ Page does not contain the [woocommerce_my_account] shortcode.
    Terms and conditions: #11505 - /privacy-policy/ Theme
    
    Name: Flatsome Child
    Version: (update to version 0 is available)
    Author URL:
    Child Theme: ✔
    Parent Theme Name: Flatsome
    Parent Theme Version: 3.18.2
    Parent Theme Author URL: https://uxthemes.com
    WooCommerce Support: ✔ Templates
    
    Overrides: flatsome/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart-empty.php
    flatsome/woocommerce/cart/cart-shipping.php
    flatsome-child/woocommerce/cart/cart.php
    flatsome/woocommerce/cart/mini-cart.php
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/form-coupon.php
    flatsome/woocommerce/checkout/order-received.php
    flatsome/woocommerce/checkout/terms.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome-child/woocommerce/content-product-cat.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-single-product.php
    flatsome/woocommerce/content-widget-product.php
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/quantity-input.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/rating.php
    flatsome/woocommerce/loop/result-count.php
    flatsome/woocommerce/loop/sale-flash.php
    /home/copperr1/public_html/wp-content/plugins/profile-builder-hobbyist/add-ons-advanced/woocommerce/templates/myaccount-edit-profile.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/myaccount/navigation.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/notice.php
    flatsome/woocommerce/notices/success.php
    flatsome/woocommerce/product-searchform.php
    flatsome-child/woocommerce/single-product/add-to-cart/simple.php
    flatsome/woocommerce/single-product/photoswipe.php
    flatsome/woocommerce/single-product/price.php
    flatsome/woocommerce/single-product/product-image.php
    flatsome/woocommerce/single-product/product-thumbnails.php
    flatsome/woocommerce/single-product/rating.php
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php Admin
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    product-variation-management
    product-virtual-downloadable
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: customize-store
    minified-js
    new-product-management-experience
    product-external-affiliate
    settings
    async-product-editor-category-field
    
    Daily Cron: ✔ Next scheduled: 2023-12-26 05:42:15 -06:00
    Options: ✔
    Notes: 9
    Onboarding: completed Action Scheduler
    
    Complete: 129
    Oldest: 2023-12-20 12:11:14 -0600
    Newest: 2023-12-25 13:31:05 -0600
    
    Pending: 1
    Oldest: 2023-12-26 08:35:03 -0600
    Newest: 2023-12-26 08:35:03 -0600 Status report information
    
    Generated at: 2023-12-25 22:03:06 -06:00
    `
    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello Tony Hisir,

    Thank you for contacting WooCommerce support.

    I’d like to inform you that the specific issue you’re referring to was addressed several months ago in WooCommerce version 6.5. You can view the details of the fix on this GitHub pull request: https://github.com/woocommerce/woocommerce/pull/32891.

    It is indeed strange that you are encountering issues on your site despite this update. Your WordPress setup appears to be up to date and I do not see any issue in the SSR.

    For us to investigate this further, could you please share a copy of the fatal error log? You can access this under WooCommerce > System Status > Logs in your WordPress dashboard.

    Once we have a look at the error log, we’ll be in a better position to diagnose the problem and provide you with the appropriate guidance.

    Looking forward to your response to assist you further. 🙂

    Thread Starter Tony Hisir

    (@copperrefections)

    Hi Zubair Zahid,

    Thank you for your reply.

     There is nothing in System Status > Logs

    But I still have below in the public_html/error_log

    [25-Dec-2023 19:15:18 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [25-Dec-2023 19:15:18 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [25-Dec-2023 19:18:17 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [25-Dec-2023 19:18:17 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [25-Dec-2023 19:18:18 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [25-Dec-2023 19:18:18 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [25-Dec-2023 19:21:12 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [25-Dec-2023 19:21:12 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [25-Dec-2023 19:21:12 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.
    [25-Dec-2023 19:21:12 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.

    Thank you,

    Tony Hisir

    • This reply was modified 1 year, 1 month ago by Tony Hisir.

    Hey, @copperrefections!

    Thanks for the information.

    Can you please share more details about the issue so we can assist you further?

    When did this error started showing?
    Had you made any changes to the site right before the error showed such as changing the theme, updating plugins or theme, adding a new plugin, etc?
    Can you please confirm if this is happening to all newly created products on your site?
    Does the error show all the time or when you do something specific?

    It’s possible that the deprecated function is being called by another plugin, theme or custom code, so you will want to check that.

    To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.

    If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.

    You can find more about this in this guide.

    If the issue is not coming from the theme or plugins, please check any custom code you’ve added, if any, to see if it is calling the function.

    I hope this was clarifying. If you face any issues or have any questions, please let us know so we can assist you further.

    Have a wonderful day!

    Thread Starter Tony Hisir

    (@copperrefections)

    Thank you, @carolm29 for all the information.

    I am still working on poduct meta titles and descriptions. Seems like these errors show up in public_html/error_log when I enter these information.

    Thanks,

    Tony

    Hey, @copperrefections!

    I am still working on poduct meta titles and descriptions. Seems like these errors show up in public_html/error_log when I enter these information.

    Thanks for the information!

    Were you able to do the test to check if the theme or one of your plugins is calling the function?

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter Tony Hisir

    (@copperrefections)

    Hi @carolm29,

    Thank you for the advice. I will follow.

    Best regards,

    Tony

    Hey @copperrefections!

    You are welcome, we are here to help 🙂

    Please let us know your findings once you finish the conflict test so we can assist you further if needed.

    Have a wonderful day!

    Thread Starter Tony Hisir

    (@copperrefections)

    Hi @carolm29,

    Thank you.

    I wonder if you can advise me about this;

    I have over 5,000 products on my website. I have been working on descriptions. I was editing randomly, as Google Merchant Center recommended. How do I find the products I edited on a certain date? I have to revise them again.

    Thanks,

    Tony

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello Tony Hisir

    I understand you wish to find the products that you edited on a certain date.

    This kind of feature is not part of the WooCommerce but you can use this plugin to add a Modified Date column and then sort the products by Modified Date. This will allow you to see the posts when they were last updated.
    https://wordpress.org/plugins/show-modified-date-in-admin-lists/

    Please note that this is a 3rd party plugin and we do not provide support for it.

    I hope this helps 🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘options function is deprecated since version 6.3’ is closed to new replies.