Fatal Error – WooCommerce Sidebar
-
Hello,
On my product shop and shop category pages, I have a sidebar to the left.
The sidebar uses the Woocommerce widgets (search, display categories, filter price etc)
It works on the front end but when I work on the website in the customizer it shows the below fatal error. This error is not visible publicly but I have noticed it is causing problems when I try to install other plugins so I was hoping not to avoid it any further and get it fixed.
I have changed themes to a default WordPress, deleted plugins, put it in troubleshooting mode.
The problem goes when I remove the widgets from the Woocommerce widget sidebar. It doesn’t matter what order I add the widgets back in or how many widgets I use. It always results in a fatal error.I have edited the wp-config.php and the debug.log reads:
public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array)
Thank you
The page I need help with: [log in to see the link]
-
Hi @focusedallday!
This is strange behavior. If you already performed a conflict test (deactivating plugins and changing the theme to a default one), to further check into this, kindly provide us the following:
- Your System Status: You can find it via
WooCommerce > Status
. Select ‘Get system report’ and then ‘Copy for support’. Once you do this, paste in here your response. - Fatal Error Log: Share a copy of any fatal error log found under
WooCommerce > System Status > Logs
(if available).
Thanks!
Hello,
Thanks for your reply. I have re-enabled the plugins and theme as it’s a live site. The answer to your first question.
### WordPress Environment ### WordPress address (URL): https://artificialflora.co.uk Site address (URL): https://artificialflora.co.uk WC Version: 5.9.0 REST API Version: ? 5.9.0 WC Blocks Version: ? 6.1.0 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 2.8.0 Log Directory Writable: ? WP Version: 5.8.2 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: en_GB External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.26 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1l-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: 5.9.0 WC Database Prefix: awe_ Total Database Size: 27.18MB Database Data Size: 23.96MB Database Index Size: 3.22MB awe_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB awe_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB awe_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB awe_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_actionscheduler_actions: Data: 0.16MB + Index: 0.19MB + Engine InnoDB awe_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_actionscheduler_logs: Data: 0.13MB + Index: 0.09MB + Engine InnoDB awe_affiliate_wp_affiliatemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_affiliate_wp_affiliates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_affiliate_wp_campaigns: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_affiliate_wp_coupons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_affiliate_wp_creatives: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_affiliate_wp_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_affiliate_wp_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_affiliate_wp_direct_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_affiliate_wp_payouts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_affiliate_wp_referralmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_affiliate_wp_referrals: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_affiliate_wp_rest_consumers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_affiliate_wp_sales: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_affiliate_wp_visits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_cartflows_visits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_cartflows_visits_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB awe_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB awe_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB awe_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_mo_campaign_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_mo_campaign_logmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_mo_conversions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_mo_email_campaignmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_mo_email_campaigns: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_mo_optin_campaignmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_mo_optin_campaigns: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_options: Data: 11.20MB + Index: 0.16MB + Engine InnoDB awe_postmeta: Data: 2.52MB + Index: 0.41MB + Engine InnoDB awe_posts: Data: 5.48MB + Index: 0.23MB + Engine InnoDB awe_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB awe_rank_math_analytics_keyword_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_rank_math_analytics_objects: Data: 0.08MB + Index: 0.02MB + Engine InnoDB awe_rank_math_internal_links: Data: 0.08MB + Index: 0.02MB + Engine InnoDB awe_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_sgs_log_events: Data: 1.52MB + Index: 0.00MB + Engine InnoDB awe_sgs_log_visitors: Data: 0.16MB + Index: 0.00MB + Engine InnoDB awe_sib_model_contact: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_sib_model_country: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_term_relationships: Data: 0.05MB + Index: 0.02MB + Engine InnoDB awe_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB awe_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB awe_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB awe_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB awe_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB awe_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB awe_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB awe_yith_wapo_addons: Data: 0.05MB + Index: 0.00MB + Engine InnoDB awe_yith_wapo_blocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB awe_yith_ywpar_points_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### astra-advanced-hook: 2 attachment: 378 custom_css: 1 customize_changeset: 7 elementor_library: 11 jet-menu: 2 jet-smart-filters: 4 nav_menu_item: 27 oembed_cache: 16 page: 40 post: 2 product: 53 product_variation: 59 revision: 264 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (24) ### AffiliateWP - PayPal Payouts: by Pippin Williamson and Andrew Munro – 1.4 AffiliateWP: by Sandhills Development LLC – 2.8.1 AffiliateWP - Affiliate Portal: by Sandhills Development LLC – 1.1 AffiliateWP - Direct Link Tracking: by Sandhills Development LLC – 1.3 Astra Pro: by Brainstorm Force – 3.6.3 Premium Starter Templates: by Brainstorm Force – 3.0.5 CartFlows Pro: by CartFlows Inc – 1.7.2 CartFlows: by CartFlows Inc – 1.7.1 Elementor Pro: by Elementor.com – 3.5.2 Elementor: by Elementor.com – 3.4.8 JetCompareWishlist For Elementor: by Crocoblock – 1.4.3 JetSearch For Elementor: by Crocoblock – 2.1.14 MailOptin - Lite: by MailOptin Team – 1.2.42.0 Rank Math SEO PRO: by Rank Math – 3.0.2 Rank Math SEO: by Rank Math – 1.0.78 SiteGround Optimizer: by SiteGround – 6.0.5 SiteGround Security: by SiteGround – 1.1.3 WooCommerce Payments: by Automattic – 3.4.0 Sendinblue - WooCommerce Email Marketing: by Sendinblue – 2.0.32 WooCommerce: by Automattic – 5.9.0 YITH WooCommerce Product Add-ons & Extra Options Premium: by YITH – 2.3.0 YITH WooCommerce Gift Cards Premium: by YITH – 3.8.0 YITH WooCommerce Order Tracking: by YITH – 1.5.0 YITH WooCommerce Points and Rewards Premium: by YITH – 3.3.0 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) gift-card (gift-card) 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: – ### WC Pages ### Shop base: #5 - /shop/ Basket: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block. Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block. My account: #8 - /my-account/ Terms and conditions: #882 - /legal/terms-and-conditions/ ### Theme ### Name: Astra Child Version: 1.0.0 Author URL: https://wpastra.com/about/ Child Theme: ? Parent Theme Name: Astra Parent Theme Version: 3.7.5 Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme WooCommerce Support: ? ### Templates ### Overrides: – ### WooCommerce Payments ### Version: 3.4.0 Connected to WPCOM: No Blog ID: - Account ID: - ### Action Scheduler ### Complete: 486 Oldest: 2021-11-18 21:06:49 +0000 Newest: 2021-12-09 09:30:57 +0000 Pending: 1 Oldest: 2021-12-10 06:47:22 +0000 Newest: 2021-12-10 06:47:22 +0000 ### Status report information ### Generated at: 2021-12-09 17:25:55 +00:00
In regards to your 2nd question – this is form the 4th Dec (couldn’t find one for today)
Skip to main contentSkip to toolbar About WordPress Artificial Flora 00 Comments in moderation New Rank Math SEO Purge SG Cache Hi, Artificial FloraLog Out Logs Store Activity Inboxunread activity Finish setup Help System statusToolsLogsScheduled ActionsLogs fatal-errors-2021-12-04-3d37d755365579a63f219d0d39615e67.log Delete log fatal-errors-2021-12-04-3d37d755365579a63f219d0d39615e67.log (December 4, 2021 at 11:11 am GMT+0000) View 2021-12-04T08:42:16+00:00 CRITICAL Uncaught Error: Call to undefined method WP_Error::get_data() in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(379): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store') #1 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(317): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /home/customer/www/artificialflora.co.uk/public_html/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\ in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64 2021-12-04T11:00:03+00:00 CRITICAL Uncaught Error: Call to undefined method WP_Error::get_data() in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(379): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store') #1 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(317): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /home/customer/www/artificialflora.co.uk/public_html/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\ in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64 2021-12-04T11:00:29+00:00 CRITICAL Uncaught Error: Call to undefined method WP_Error::get_data() in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(379): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store') #1 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(317): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /home/customer/www/artificialflora.co.uk/public_html/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\ in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64 2021-12-04T11:00:58+00:00 CRITICAL Uncaught Error: Call to undefined method WP_Error::get_data() in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(379): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store') #1 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(317): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /home/customer/www/artificialflora.co.uk/public_html/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\ in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64 2021-12-04T11:01:21+00:00 CRITICAL Uncaught Error: Call to undefined method WP_Error::get_data() in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(379): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store') #1 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(317): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /home/customer/www/artificialflora.co.uk/public_html/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\ in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64 2021-12-04T11:01:47+00:00 CRITICAL Uncaught Error: Call to undefined method WP_Error::get_data() in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(379): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store') #1 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(317): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /home/customer/www/artificialflora.co.uk/public_html/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\ in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64 2021-12-04T11:02:33+00:00 CRITICAL Uncaught Error: Call to undefined method WP_Error::get_data() in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(379): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store') #1 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(317): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /home/customer/www/artificialflora.co.uk/public_html/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\ in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64 2021-12-04T11:09:54+00:00 CRITICAL Uncaught Error: Call to undefined method WP_Error::get_data() in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(379): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store') #1 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(317): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /home/customer/www/artificialflora.co.uk/public_html/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\ in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64 2021-12-04T11:11:30+00:00 CRITICAL Uncaught Error: Call to undefined method WP_Error::get_data() in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:64 Stack trace: #0 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(379): Automattic\WooCommerce\Blocks\RestApi->get_routes_from_namespace('wc/store') #1 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(317): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_data(Array) #2 /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array) #3 /home/customer/www/artificialflora.co.uk/public_html/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\ in /home/customer/www/artificialflora.co.uk/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 64
Thanks
Simon
still experience the problem – but will try to fix it outside of here
Hi Simon @focusedallday ??
Thanks for sharing that with us!
I do not see anything odd, but I would suggest that you try updating WooCommerce to v6.0.0 after creating a backup of your site.
That said, I have tested the widgets you mentioned on my site, but they do not result in any errors when opening up the Customizer: https://d.pr/i/aHFfMm
You did mention testing with Troubleshooting Mode in the Health Check plugin, however, if updating WooCommerce does not help, I recommend conflicting testing manually since this will provide more accurate results. To conflict test manually, you can follow the steps from here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
I hope that this helps ??
Thanks for looking into this for me
You’re welcome ??
Please keep us updated with how it goes. If the issue persists, please share a screenshot with us of the exact widgets you are using which does this.
You can use https://snipboard.io for sharing screenshots.
- Your System Status: You can find it via
- The topic ‘Fatal Error – WooCommerce Sidebar’ is closed to new replies.