WC Admin Pages slow, unresponsive and return “Error retrieving settings”
-
Several WooCommerce page loading issues
Page load times in WooCommerce Admin are generally a minimum of 30 seconds and sometimes fail to load.
I have taken numerous usual steps to identify the root cause that I can explain as required.
The initial issue that caused me to begin troubleshooting, is that Elementor page builder is slow to load a page when opened for editing, or more often, fails to load completely. On occasions this causes the whole site to become unresponsive for a few minutes before returning. When this happens, an increase in memory use is observed (on the recently upgraded infrastructure).
After various attempts to identify the cause, I noticed the Elementor issue is significantly worse when WooCommerce is enabled. That is, without Woo, the page loads slowly (eg 30 seconds), with Woo it usually fails (eg page load of 90 seconds or greater or failure to load at all).
This lead me to further review WooCommerce and related plugins (Payments, Shipping, Square) where the following issues have been observed.
Theme in use is ‘Bridge’ by Qode Interactive – and yes, I can reproduce the error on twenty twenty-three. I’ve also checked in with them first to make sure there’s nothing obvious from a Theme point of view. They have cart.php page to update soon but say that will not be related to this issue. Issues can also be reproduced on a clean install of WP and minimal suite of plugins.
I realise there may be some other underlying root cause for the slow performance, and that the various issues mentioned may be unrelated, but I’m starting here with WooCommerce as there are several broken items and the performance is significantly worse with it enabled.
WooCommerce related issues
Menu item: WooCommerce / Home
“There was an error getting your inbox. Please try again.”
Of course, trying again yields the same result
Menu item: Customers
Long page load time around 60-90 seconds, customer table outline renders then page fails with error “There was an error getting your stats. Please try again.”
Menu item: Payments, Payments Tab, WooPayments, Manage
Error briefly pops up in black box at lower left of screen
“Error retrieving settings”
Page renders but no settings are populated. Re-populating and saving them does not fix the error
Menu item: Payments, Overview
Page sometimes does not render or slowly renders with these errors
Errors briefly pops up in black box at lower left of screen
“Error retrieving all deposits overviews”
“Error retrieving all deposits”
Menu item: Analytics
All charts fail with error
“There was an error getting your stats. Please try again.”
I’ve have a status report available and can load that up if required
WP version 6.3
PHP Version 8.1.19- This topic was modified 1 year, 3 months ago by Guy Chapman.
-
I’m having the same exact problem. Disconnected all the plugins and changed theme and still there’s an error loading the admin page. A purple triangle with an exclamation point.
Hi @guychapman ,
Thanks for reaching out!
I’d like to have a better understanding of your sites current environment, please can you share the following:
- System Status Report: navigate to WooCommerce → Status. Select
Get system report
and thenCopy for support
. - Fatal Error log: Share a copy of any fatal error log found under WooCommerce → Status → Logs.
- Screenshot:?Please share a screenshot of what you are seeing on your end on the pages experiencing issues.
If you do not already have a screenshot tool installed, Snipboard.io can be used for easily sharing screenshots.
Please follow the instructions on that page, then paste the URL in this thread.
Hi @silvara ,
It seems you are experiencing a similar issue to the one mentioned above.
Since each site setup differs, and in order to align with forum best practices, please can you start your own topic so that we can address your issue(s) separately.
Cheers!
Thanks for picking this up @beautyofcode system report below, additional info to follow. Cheers, Guy
` ### WordPress Environment ### WordPress address (URL): https://guychapman.net/wp Site address (URL): https://guychapman.net WC Version: 8.0.2 REST API Version: ? 8.0.2 WC Blocks Version: ? 10.6.5 Action Scheduler Version: ? 3.6.1 Log Directory Writable: ? WP Version: 6.3 WP Multisite: – WP Memory Limit: 640 MB WP Debug Mode: – WP Cron: – Language: en_AU External object cache: ? ### Server Environment ### Server Info: Apache PHP Version: 8.1.19 PHP Post Max Size: 512 MB PHP Time Limit: 300 PHP Max Input Vars: 5000 cURL Version: 7.61.1 OpenSSL/1.1.1k SUHOSIN Installed: – MySQL Version: 8.0.30 Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 8.0.2 WC Database Prefix: wp_ Total Database Size: 58.60MB Database Data Size: 50.57MB Database Index Size: 8.03MB wp_woocommerce_sessions: Data: 0.22MB + Index: 0.02MB + 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: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.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: 3.47MB + Index: 1.56MB + 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: 2.48MB + Index: 2.00MB + Engine InnoDB wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_comments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_eum_logs: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_index_now_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_layerslider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_layerslider_drafts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_automation_run_subjects: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_automation_runs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_newsletters: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_scheduled_task_subscribers: Data: 0.33MB + Index: 0.22MB + Engine InnoDB wp_mailpoet_scheduled_tasks: Data: 0.11MB + Index: 0.11MB + Engine InnoDB wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscriber_custom_field: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.23MB + Engine InnoDB wp_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mclean_refs: Data: 0.45MB + Index: 0.00MB + Engine InnoDB wp_mclean_scan: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mgmlp_folders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 6.10MB + Index: 0.13MB + Engine MyISAM wp_postmeta: Data: 2.00MB + Index: 0.29MB + Engine MyISAM wp_posts: Data: 1.03MB + Index: 0.09MB + Engine MyISAM wp_realmedialibrary: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_realmedialibrary_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_realmedialibrary_posts: Data: 0.01MB + Index: 0.03MB + Engine MyISAM wp_realmedialibrary_tmp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_realphysicalmedia_log: Data: 0.06MB + Index: 0.01MB + Engine MyISAM wp_realphysicalmedia_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_realphysicalmedia_seo: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_relationships: Data: 0.01MB + Index: 0.03MB + Engine MyISAM wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_usermeta: Data: 0.08MB + Index: 0.03MB + Engine MyISAM wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + 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_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + 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_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + 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: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 4.52MB + 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: 15.55MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 1.02MB + Index: 0.27MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 7.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.05MB + 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.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.11MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 0.20MB + Index: 0.09MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.17MB + Index: 0.11MB + Engine InnoDB ### Post Type Counts ### attachment: 593 custom_css: 3 customize_changeset: 2 elementor_library: 1 jetpack-portfolio: 8 mailpoet_page: 1 mgmlp_media_folder: 4 nav_menu_item: 50 page: 20 post: 166 product: 36 revision: 21 wp_global_styles: 1 wp_navigation: 1 wp_template: 3 wpcode: 44 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (30) ### Query Monitor: by John Blackbourn – 3.13.1 Admin Menu Editor: by Janis Elsts – 1.11.1 Bridge Core: by Qode – 3.0.9 Database Cleaner: Clean, Optimize & Repair: by Jordy Meow – 0.9.4 Disable "BIG image" Threshold: by Jonathan Desrosiers – 1.0 Elementor: by Elementor.com – 3.15.2 Enable Media Replace: by ShortPixel – 4.1.2 Jetpack Without Promotions: by required – 1.2.0 WPCode Lite: by WPCode – 2.1.1 Jetpack: by Automattic – 12.4 MailPoet: by MailPoet – 4.24.0 Media Cleaner: by Jordy Meow – 6.6.5 Media File Renamer: Rename Files (Manual, Auto & AI): by Jordy Meow – 5.6.6 Qi Addons For Elementor: by Qode Interactive – 1.6.3 Qi Blocks: by Qode Interactive – 1.2.2 Real Media Library: by devowl.io – 4.21.6 Real Physical Media: by devowl.io – 1.5.51 Server IP & Memory Usage Display: by Apasionados Apasionados del Marketing – 2.1.0 Simple Local Avatars: by 10up – 2.7.5 Easy Updates Manager: by Easy Updates Manager Team – 9.0.17 Category Order and Taxonomy Terms Order: by Nsp-Code – 1.7.9 W3 Total Cache: by BoldGrid – 2.4.1 WebP Express: by Bj?rn Rosell – 0.25.6 WooCommerce Payments: by Automattic – 6.3.1 WooCommerce Shipping & Tax: by WooCommerce – 2.3.2 WooCommerce Square: by WooCommerce – 4.1.0 WooCommerce: by Automattic – 8.0.2 Wordfence Security: by Wordfence – 7.10.3 Yoast SEO: by Team Yoast – 20.13 WPS Hide Login: by WPServeur NicolasKulka wpformation – 1.9.8 ### Inactive Plugins (6) ### Envato Market: by Envato – 2.0.10 IndexNow: by Mikhail Kobzarev – 2.5.5 Slider Revolution: by ThemePunch – 6.6.14 What The File: by Never5 – 1.6.0 WP Crontrol: by John Blackbourn & crontributors – 1.15.3 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 ### Dropin Plugins (3) ### advanced-cache.php: advanced-cache.php db.php: Query Monitor Database Class (Drop-in) object-cache.php: object-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: AUD ($) 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: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### WC Pages ### Shop base: #515 - /shop/ Cart: #516 - /cart/ Checkout: #517 - /checkout/ My account: #518 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Bridge Child Version: 1.0.0 Author URL: https://www.qodethemes.com/ Child Theme: ? Parent Theme Name: Bridge Parent Theme Version: 29.7 Parent Theme Author URL: https://qodeinteractive.com/ WooCommerce Support: ? ### Templates ### Archive Template: Your theme has a woocommerce.php file. You will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: bridge/woocommerce/cart/cart-empty.php bridge/woocommerce/cart/cart-shipping.php bridge/woocommerce/cart/cart-totals.php bridge/woocommerce/cart/cart.php version 7.8.0 is out of date. The core version is 7.9.0 bridge/woocommerce/cart/shipping-calculator.php bridge/woocommerce/checkout/form-coupon.php bridge/woocommerce/checkout/thankyou.php bridge/woocommerce/content-product.php bridge/woocommerce/content-single-product.php bridge/woocommerce/global/form-login.php bridge/woocommerce/global/quantity-input.php bridge/woocommerce/loop/add-to-cart.php bridge/woocommerce/loop/loop-start.php bridge/woocommerce/loop/pagination.php bridge/woocommerce/loop/rating.php bridge/woocommerce/loop/result-count.php bridge/woocommerce/loop/sale-flash.php bridge/woocommerce/myaccount/form-login.php bridge/woocommerce/myaccount/form-lost-password.php bridge/woocommerce/myaccount/my-address.php bridge/woocommerce/myaccount/my-orders.php bridge/woocommerce/single-product/add-to-cart/external.php bridge/woocommerce/single-product/add-to-cart/grouped.php bridge/woocommerce/single-product/add-to-cart/simple.php bridge/woocommerce/single-product/add-to-cart/variable.php bridge/woocommerce/single-product/related.php bridge/woocommerce/single-product/sale-flash.php bridge/woocommerce/single-product/tabs/additional-information.php bridge/woocommerce/single-product/tabs/description.php bridge/woocommerce/single-product/tabs/tabs.php bridge/woocommerce/single-product/up-sells.php Outdated Templates: ? Learn how to update ### 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 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: minified-js new-product-management-experience product-variation-management settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-08-17 06:10:21 +10:00 Options: ? Notes: 30 Onboarding: completed ### WooCommerce Payments ### Version: 6.3.1 Connected to WPCOM: Yes Blog ID: 206036845 Account ID: acct_1Kuyvj2HmwPRAUvf ### MailPoet ### Sending Method: MailPoet Send all site's emails with: Default WordPress sending method Task Scheduler method: Action Scheduler Cron ping URL: https://guychapman.net?mailpoet_router&endpoint=cron_daemon&action=ping ### Action Scheduler ### Cancelled: 1 Oldest: 2023-07-24 05:56:01 +0000 Newest: 2023-07-24 05:56:01 +0000 Complete: 6,926 Oldest: 2023-07-17 01:48:07 +0000 Newest: 2023-08-17 01:47:02 +0000 Failed: 34 Oldest: 2023-07-18 04:45:16 +0000 Newest: 2023-08-15 07:47:30 +0000 Pending: 4 Oldest: 2023-08-17 01:49:02 +0000 Newest: 2023-08-23 04:09:17 +0000 ### Status report information ### Generated at: 2023-08-17 11:47:17 +10:00 `
fatal-errors-2023-08-10
2023-08-10T12:43:07+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function WC_REST_Payments_Settings_Controller::__construct(), 2 passed in /home/www/guychapman-prd/public/webroot/wp/wp-content/plugins/woocommerce-payments/includes/class-wc-payments.php on line 994 and exactly 3 expected in /home/www/guychapman-prd/public/webroot/wp/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-rest-payments-settings-controller.php:46 Stack trace: #0 /home/www/guychapman-prd/public/webroot/wp/wp-content/plugins/woocommerce-payments/includes/class-wc-payments.php(994): WC_REST_Payments_Settings_Controller->__construct() #1 /home/www/guychapman-prd/public/webroot/wp/wp-includes/class-wp-hook.php(310): WC_Payments::init_rest_api() #2 /home/www/guychapman-prd/public/webroot/wp/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #3 /home/www/guychapman-prd/public/webroot/wp/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /home/www/guychapman-prd/public/webroot/wp/wp-includes/rest-api.php(587): do_action() #5 /home/www/guychapman-prd/public/webroot/wp/wp-includes/rest-api.php(545): rest_get_server() #6 /home/www/guychapman-prd/public/webroot/wp/wp-includes/rest-api.php(2911): rest_do_request() #7 [internal function]: rest_preload_api_request() #8 /home/www/guychapman-prd/public/webroot/wp/wp-content/plugins/woocommerce/src/Internal/Admin/Settings.php(146): array_reduce() #9 /home/www/guychapman-prd/public/webroot/wp/wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\Internal\Admin\Settings->add_component_settings() #10 /home/www/guychapman-prd/public/webroot/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters() #11 /home/www/guychapman-prd/public/webroot/wp/wp-content/plugins/woocommerce/src/Internal/Admin/WCAdminSharedSettings.php(61): apply_filters() #12 /home/www/guychapman-prd/public/webroot/wp/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php(267): Automattic\WooCommerce\Internal\Admin\WCAdminSharedSettings->Automattic\WooCommerce\Internal\Admin\{closure}() #13 /home/www/guychapman-prd/public/webroot/wp/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php(368): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->execute_lazy_data() #14 /home/www/guychapman-prd/public/webroot/wp/wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->enqueue_asset_data() #15 /home/www/guychapman-prd/public/webroot/wp/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #16 /home/www/guychapman-prd/public/webroot/wp/wp-includes/plugin.php(517): WP_Hook->do_action() #17 /home/www/guychapman-prd/public/webroot/wp/wp-admin/includes/template.php(2216): do_action() #18 /home/www/guychapman-prd/public/webroot/wp/wp-admin/update.php(53): iframe_footer() #19 {main} thrown in /home/www/guychapman-prd/public/webroot/wp/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-rest-payments-settings-controller.php on line 46
Hi Guy,
Thanks for sharing the requested info!
Everything looks good in your SSR, nothing unusual standing out there.
Can you see if deactivating and reactivating WooCommerce makes any difference?
If not, can you try deleting WooCommerce,?downloading a fresh copy?here, and the installing this resolves the issue?
Just to add – deleting the WooCommerce plugin will not affect your WooCommerce data in any way, all orders, customer etc will still be there once WooCommerce has been reinstalled.
We strongly recommend ensuring that you have a good?backup?of your?full site and database?before doing this, so that, should something go wrong, you are able to easily restore your site to a functioning state.
Should the issue persist, please can you share any browser console errors on the pages experiencing this issue. ?You can read more about?using your browser console to identify errors here.
Lastly, can you try accessing your dashboard using a different browser and see if the same issue occurs, so that we can see if this is browser specific?
Cheers!
Hi Roxy,
Thanks again for taking the time to help with this.
I’ve tested a few things but the short story is, the page load time has improved a little but the errors are all still there.
I have Test, Staging and Production instances running.
Test is a fresh installation with no new content and just the minimum WP, Theme, WC setup. On this, after deleting WC the page load times improve (but as there is no content it’s not the real test of this), with WC re-installed the purple-triangle errors are there immediately.
On Staging, there is a full replica of production content and settings are almost identical, the same thing happens, delete all WC and related plugins, page load time improves (Elementor edit page goes from around 70-90 seconds down to perhaps 30-40, so still not good).
Production, same results as Staging (on Bridge and Twenty Twenty-Three Themes).
While doing this test, in production, I deleted WooCommerce, WooCommerce Payments, WooCommere Shipping and Tax, WooCommerce Square, Jetpack, Jetpack Without Promotions. When reinstating things, I have only put back WooCommerce and WooCommerce Square as I have an account with Square. It was an opportunity to remove the WC Payments and therefore the Jetpack bloat. It hasn’t fixed anything, perhaps page load times have improved a bit, but glad to be rid of all that extra clutter.
…so, yes there are errors in the browser console https://snipboard.io/pkDvem.jpg
Do you think it may be a wp installation location issue? guychapman.net/wp/ is where it is located but those links in the errors don’t have that path. Also, lots of chatter about similar issues in here https://github.com/woocommerce/woocommerce-admin/issues/3943 but unresolved.
Cheers,
Guy- This reply was modified 1 year, 3 months ago by Guy Chapman.
Hi Roxy,
Looking at some of the errors in the previous snipboard image, and trying some of the urls in them, I get the following if it is of any use. Listed for three of them is the Console error, the error from opening the url in the browser, and the text on result page when visiting that url.
So the console error shows a server 503 not available and json has a status of 401 not authorised.
[Error] Failed to load resource: the server responded with a status of 503 () (low-in-stock, line 0)
https://guychapman.net/wp-json/wc-analytics/products/low-in-stock?page=1&per_page=1&low_in_stock=true&status=publish&_fields%5B0%5D=id&_locale=user
{"code":"woocommerce_rest_cannot_view","message":"Sorry, you cannot list resources.","data":{"status":401}}[Error] Failed to load resource: the server responded with a status of 503 () (reviews, line 0)
https://guychapman.net/wp-json/wc-analytics/products/reviews?page=1&per_page=1&status=hold&_embed=1&_fields%5B0%5D=id&_locale=user
{"code":"woocommerce_rest_cannot_view","message":"Sorry, you cannot list resources.","data":{"status":401}}[Error] Failed to load resource: the server responded with a status of 503 () (orders, line 0)
https://guychapman.net/wp-json/wc-analytics/orders?page=1&per_page=1&status%5B0%5D=processing&status%5B1%5D=on-hold&_fields%5B0%5D=id&_locale=user
{"code":"woocommerce_rest_cannot_view","message":"Sorry, you cannot list resources.","data":{"status":401}}Also, you asked if the issue happens in a separate browser and yes it is in macOS Safari and Firefox and in Safari private browsing. No browser extensions enabled.
Cheers,
Guy- This reply was modified 1 year, 3 months ago by Guy Chapman.
- This reply was modified 1 year, 3 months ago by Guy Chapman.
Hi @guychapman
From the details you’ve provided, it seems like there are two main issues at hand: the server responding with a status of 503, and the JSON responses indicating a 401 unauthorized status.
A 503 error generally indicates that the server is temporarily unable to handle the request. This could be due to the server being overloaded or down for maintenance. It’s worth checking with your hosting provider to see if there are any known issues or maintenance windows that might be causing this.
Your server logs may provide more details about the 503 error. You can usually access these through your hosting control panel or by contacting your hosting provider.
The 401 unauthorized status in the JSON responses suggests that there are some permission issues. The error message “woocommerce_rest_cannot_view” means that the user trying to access these resources doesn’t have the necessary permissions. This may be due to incorrect settings in your WooCommerce or WordPress setup, or it could be related to user roles and capabilities.
Can you please ensure that the user role has the necessary capabilities to view and manage WooCommerce resources? You can check this in WordPress by navigating to Users > All Users and clicking on the user in question.
If everything looks fine and still loading issue persists, would you mind enabling HPOS? You can do this by heading over to WooCommerce > Settings > Advanced > Data storage for orders.
I also suggest moving the WordPress core to root from the subfolder and testing whether it resolves the permission and speed related issues.
Lastly, it’s worth checking if there’s a conflict with another plugin or the theme. You can do this by deactivating all other plugins and switching to a default theme like Storefront, then checking if the issue persists. If it doesn’t, reactivate each plugin one by one, checking each time if the issue reoccurs. This process will help you identify if a specific plugin or theme is causing the issue.
I hope this helps! Please let us know how it goes or if you need further assistance.
Thanks!
Hi Shameem,
Thanks for that information, I’ve gone through it and tried those suggestions, notes below…
Re the 503 errors in the browser console, I’ve checked server logs and performance at the time of loading the Woo pages and there is nothing logged. Other areas of the solution are working correctly (although slow, which is what this ticket is about). I’ve recently upgraded the hosting to move off shared infra onto VPS. These errors reported in the browser console are all Woo-specific too, not across other functions.
Checked the user role but it’s a single admin user site. Same one that installed and configured everything so I don’t think there is anything I can modify there either.
I enabled HPOS and re-tested but stil get the same errors and poor page load times.
I’ve moved WP on the test site to root but still get the errors.
and finally, on the plugin testing, I’ve gone through numerous rounds of that across Production, Staging and Test with various combinations of plugins and themes on and off. Everything points back to Elementor being bloated but it functions until WooCommerce is enabled, then the page load time degrades by another 30-60 seconds and Elementor pages fail to load. I suspect Elementor is just the canary-in-the-coalmine, as it’s so bloated, it’s probably the first thing to reveal the failures.
… so still a bit stuck, and not even sure the browser console errors in Woo relate to the poor performance, there could be a couple of things going on here. Open to any other ideas though,
Despite all that, still interested to work out what is causing the 401’s though, even if it doesn’t resolve the performance issue there’s something in there that needs fixing.
Thanks,
Guy- This reply was modified 1 year, 3 months ago by Guy Chapman.
- This reply was modified 1 year, 3 months ago by Guy Chapman.
Hi there @guychapman ??
Thank you for reaching back, with further details!
… so still a bit stuck, and not even sure the browser console errors in Woo relate to the poor performance, there could be a couple of things going on here. Open to any other ideas though,
Feel free to check out Woo Express (linked here). It is currently free to try, for 14-days.
For moving your products and other content over, to test, there is an option in the screen at
Tools > Export
.Despite all that, still interested to work out what is causing the 401’s though, even if it doesn’t resolve the performance issue there’s something in there that needs fixing.
Let us know how it goes with regard to 401’s, also.
I hope this is helpful! Please let us know if you have any further questions or concerns.
Hi Pepe,
No thanks, I’d rather get the broken free Woo working than move to a paid option. Thanks anyway but that doesn’t really address the issues discussed in this thread.
Hello @guychapman,
I can imagine your frustration at this point.Looking at some of the errors in the previous snipboard image, and trying some of the urls in them, I get the following if it is of any use.
This is actually expected, these endpoints are for the WooCommerce REST API so you can’t just access them on a browser without authenticating with your API keys. But that doesn’t explain the 503 errors.
Can you please confirm if the pages related to WooCommerce-Admin, such as WooCommerce > Home and WooCommerce > Analytics, are functioning properly now?
Have you tried switching your server’s PHP version?
Additionally, could you reach out to Elementor about this situation as well? Here’s their support page: https://elementor.com/support/
Let us know how it goes!Hi Saif, @babylon1999,
Yes, frustrating but most interactions have helped at least eliminate possible causes and in some cases improve performance a little.
The same original issues remain, slow page loads and browser console errors with ‘…/wp-json/wc-…’ in the path.
The server returns what is probably a generic 503 but I suspect that is in response to the 401 returned by WC (visible when running some of those json links in the browser…
{"code":"woocommerce_rest_cannot_view","message":"Sorry, you cannot list resources.","data":{"status":401}}
I’ll raise something with Elementor but working towards that. Started with Infrastructure, then the theme company, now Woo, next Elementor…
I’ve tried different PHP versions on the test instance that has the error out of the box on a vanilla installation. I’m on 8.1 and going up to 8.2 or down through various versions all return the same error results.
I’d be interested to know if you have anyone who can dig into the source of the 401 errors from json/rest.
Cheers,
Guy- This reply was modified 1 year, 3 months ago by Guy Chapman.
Hi Saif, @babylon1999,
Sorry, just realised I misread your previous comment…
you can’t just access them on a browser without authenticating with your API keys
… so the 401 errors are just a misdirection as I’m looking at them in the browser. Then this leaves us with the 503s from the server that are only for WooCommerce related links, so same question stands I guess, is there someone in WC team who may be able to help trace this?
Cheers,
Guy - System Status Report: navigate to WooCommerce → Status. Select
- The topic ‘WC Admin Pages slow, unresponsive and return “Error retrieving settings”’ is closed to new replies.