The Automattic\WooCommerce\Admin\API\Options::get_options
-
I am getting the following error when I go to Settings > Payments > Stripe. I have narrowed to your plugin. This was an issue with all of WooCommerce which they fixed with 6.6.0. This is still an issue with your plugin.
Can you take a look and fix it?
The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.
-
Hi @chargeup
Thanks for reaching out, we’ll be happy to see how we can help and look into this issue for you.
To help us investigate could you please provide us with a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here in your reply.
You also mentioned you narrowed this down to the specific Stripe plugin in use, can you tell us what you’re seeing or what steps you took to narrow this down? Having an idea of what’s been done so far will help us going forward.
Thanks!
All you have to do is click Settings > Payments > Stripe and check your error logs. You will see it in there. That error was a common issue with the 6.5.1 WooCommerce version. Anytime you click the WooCommerce admin links in that version it would throw that error. They fixed it with the 6.6.0 update, but it’s still lingering with the Stripe plugin.
https://github.com/woocommerce/woocommerce/issues/32863#issuecomment-1128327458
Hope this helps.
Hi @chargeup,
The deprecation notice was fixed with WooCommerce core 6.6.0 released on 2022-06-14. You can read more about the fix here:
https://github.com/woocommerce/woocommerce/pull/32891
I’m not seeing any deprecation notice with the latest WC core version (6.6.1) and WC Stripe (6.4.1) running on my test site. Can you clear transients in WooCommerce > Status > Tools?
If the issue persists, in order for us to check this further can you send us your site’s System Status as requested above?
Thanks!
I cleared transients and the issue still persists. I am able to recreate it on every website I’m using WooCommerce and Stripe. Did you follow my steps and check your php error log?
WooCommerce > Settings > Payments > Stripe
Here is the Status Report
—————————————————–
### WordPress Environment ### WordPress address (URL): https://www.hidden.com Site address (URL): https://www.hidden.com WC Version: 6.6.1 REST API Version: ? 6.6.1 WC Blocks Version: ? 7.6.2 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: – Language: en_US External object cache: ? ### Server Environment ### Server Info: Apache PHP Version: 7.4.30 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1n-fips SUHOSIN Installed: – MySQL Version: 5.7.32-35-log Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.6.1 WC Database Prefix: wfu_ Total Database Size: 16.47MB Database Data Size: 13.12MB Database Index Size: 3.35MB ..._woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB ..._woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ..._woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ..._woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ..._woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ..._woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._actionscheduler_actions: Data: 0.11MB + Index: 0.11MB + Engine InnoDB ..._actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._actionscheduler_logs: Data: 0.08MB + Index: 0.03MB + Engine InnoDB ..._aws_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ..._aws_index: Data: 0.17MB + Index: 0.14MB + Engine InnoDB ..._commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB ..._e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB ..._e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ..._e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB ..._e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB ..._e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._gf_entry: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._gf_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ..._gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ..._gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ..._gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB ..._gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ..._gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ..._gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._options: Data: 4.05MB + Index: 0.06MB + Engine InnoDB ..._postmeta: Data: 2.50MB + Index: 0.31MB + Engine InnoDB ..._posts: Data: 3.39MB + Index: 0.13MB + Engine InnoDB ..._sgs_log_events: Data: 0.06MB + Index: 0.00MB + Engine InnoDB ..._sgs_log_visitors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ..._termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._usermeta: Data: 0.03MB + Index: 0.03MB + Engine InnoDB ..._users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ..._wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB ..._wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ..._wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ..._wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ..._wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB ..._wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ..._wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ..._wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ..._wpr_rucss_resources: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ..._wpr_rucss_used_css: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ..._yoast_indexable: Data: 0.14MB + Index: 0.09MB + Engine InnoDB ..._yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ..._yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ..._yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ..._yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### astra-advanced-hook: 1 attachment: 130 custom_css: 1 customize_changeset: 4 elementor_library: 1 nav_menu_item: 17 page: 10 post: 2 product: 18 revision: 450 shop_order: 2 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (16) ### Advanced Woo Search: by ILLID – 2.56 Astra Pro: by Brainstorm Force – 3.6.10 Elementor Pro: by Elementor.com – 3.7.2 Elementor: by Elementor.com – 3.6.6 Google Listings and Ads: by WooCommerce – 1.13.6 Jetpack: by Automattic – 11.0 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5 SiteGround Optimizer: by SiteGround – 7.1.5 SiteGround Security: by SiteGround – 1.2.9 Ultimate Addons for Elementor: by Brainstorm Force – 1.36.7 WooCommerce Stripe Gateway: by WooCommerce – 6.4.1 WooCommerce Shipping & Tax: by WooCommerce – 1.26.1 WooCommerce: by Automattic – 6.6.1 Yoast SEO: by Team Yoast – 19.1 WP Mail SMTP: by WPForms – 3.4.0 WP Rocket: by WP Media – 3.11.3 ### Inactive Plugins (0) ### ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php object-cache.php: Memcached ### 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) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #5 - /shop/ Cart: #6 - /cart/ Checkout: #7 - /checkout/ My account: #8 - /my-account/ Terms and conditions: #3 - /terms-of-use/ ### Theme ### Name: Astra Child Version: 1.0.0 Author URL: https://wpastra.com/about/ Child Theme: ? Parent Theme Name: Astra Parent Theme Version: 3.8.3 Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme WooCommerce Support: ? ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ? Next scheduled: 2022-06-24 16:18:13 -04:00 Options: ? Notes: 72 Onboarding: completed ### Action Scheduler ### Complete: 161 Oldest: 2022-05-24 12:20:37 -0400 Newest: 2022-06-23 20:50:46 -0400 Failed: 4 Oldest: 2022-05-02 12:24:21 -0400 Newest: 2022-05-02 12:24:22 -0400 Pending: 3 Oldest: 2022-06-23 22:30:03 -0400 Newest: 2022-06-24 19:30:02 -0400 ### Status report information ### Generated at: 2022-06-23 20:56:51 -04:00
Hi @chargeup,
Thanks for sending over the system status report.
As mentioned earlier I’m not able to replicate your issue. There is no error in Settings > Payments > Stripe and I haven’t found any related error logs.
Can you please follow the steps below and let us know if anything changes?
1. Clear the cache on your site and server. To purge WP Rocket cache follow the instructions here. For server cache contact your host and ask them to disable it.
2. Run current pending actions (not actions scheduled in the future) in WordPress Admin > WooCommerce > Status > Scheduled Actions by hovering over the pending action and then clicking the run link.
3. Deactivate all plugins except WooCommerce core and Woocommerce Stripe. Temporarily change the theme to Storefront.
After this, let us know if the issue is resolved. If not, please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.
Please include a link to this forum thread, so that we can keep track of what’s already been done.
We will be able to help you further there.
Thanks. I followed all the steps without success. I submitted a support ticket over at WooCommerce.com.
Talk to you soon.
Hi there,
Sorry to hear the issue persists. Thanks for letting us know.
As further assistance is to be provided via our internal ticketing system, I’ll go ahead and close this thread now.
Please feel free to create a new topic if you have other questions.
Best.
- The topic ‘The Automattic\WooCommerce\Admin\API\Options::get_options’ is closed to new replies.