Astra Theme + Woocommerce Issue
-
Getting this error.
I have to comment out line 10 and that has sorted the issue.
Anybody having the same issue?
An eCommerce toolkit that helps you sell anything. Beautifully.Version 8.2.1 | By Automattic | View details
This plugin failed to load properly and is paused during recovery mode.
An error of type
E_ERROR
was caused in line10
of the file/home/westbagc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/patterns/featured-category-cover-image.php
. Error message:Uncaught Error: Class "Automattic\WooCommerce\Blocks\Patterns\PatternsHelper" not found in /home/westbagc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/patterns/featured-category-cover-image.php:10 Stack trace: #0 /home/westbagc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockPatterns.php(180): include() #1 /home/westbagc/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\BlockPatterns->register_block_patterns() #2 /home/westbagc/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /home/westbagc/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /home/westbagc/public_html/wp-settings.php(643): do_action() #5 /home/westbagc/public_html/wp-config.php(101): require_once('/home/westbagc/...') #6 /home/westbagc/public_html/wp-load.php(50): require_once('/home/westbagc/...') #7 /home/westbagc/public_html/wp-admin/admin-ajax.php(22): require_once('/home/westbagc/...') #8 {main} thrown
The page I need help with: [log in to see the link]
-
Hey @smarterwebsites,
Thanks for reaching out!
It looks like you are encountering the above error on your site, and commenting out line 10 resolves the issue, is this correct?
To clarify, is this error only present when WooCommerce core and the Astra theme are simultaneously activated (essentially indicating a compatibility issue)?
If so, I’d suggest reaching out to the Astra theme developers for further help with this as they may have a workaround or fix. Here is a direct link to their support page:
On the other hand, if the issue is still present when only WooCommerce core is active and a default theme set, such as Storefront, please can you share a copy of your sites System Status Report so that we can take a closer look at your sites current environment.
You can find this via?WooCommerce?→?Status. Select?
Get system report
?and then?Download for Support
. This will download a TXT file that has the contents of the SSR which you can then share with us here.Cheers!
I tested with default WP 2024 theme but still having same issue.
` WordPress Environment WordPress address (URL): https://westbag.com.au Site address (URL): https://westbag.com.au WC Version: 8.2.1 REST API Version: ? 8.2.1 WC Blocks Version: ? 11.1.2 Action Scheduler Version: ? 3.7.0 Log Directory Writable: ? WP Version: 6.4.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: – Language: en_AU External object cache: – Server Environment Server Info: Apache PHP Version: 8.2.13 PHP Post Max Size: 16 MB PHP Time Limit: 900 PHP Max Input Vars: 5000 cURL Version: 7.87.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 5.7.44 Max Upload Size: 16 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.2.1 WC Database Prefix: wpli_ Total Database Size: 44.10MB Database Data Size: 41.59MB Database Index Size: 2.51MB wpli_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_actionscheduler_actions: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wpli_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_actionscheduler_logs: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpli_aiowps_audit_log: Data: 0.75MB + Index: 0.01MB + Engine MyISAM wpli_aiowps_debug_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_aiowps_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_aiowps_global_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_aiowps_logged_in_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_aiowps_login_lockdown: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_aiowps_message_store: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_aiowps_permanent_block: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_blc_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_blc_instances: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_blc_links: Data: 0.03MB + Index: 0.01MB + Engine MyISAM wpli_blc_synch: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_gf_entry: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpli_gf_entry_meta: Data: 0.08MB + Index: 0.04MB + Engine MyISAM wpli_gf_entry_notes: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpli_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_gf_form_meta: Data: 0.05MB + Index: 0.00MB + Engine MyISAM wpli_gf_form_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_gf_form_view: Data: 0.09MB + Index: 0.04MB + Engine MyISAM wpli_gf_rest_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_layerslider: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_mbp_ping_optimizer: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_options: Data: 6.02MB + Index: 0.29MB + Engine MyISAM wpli_plugin_notes_plus: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_postmeta: Data: 24.61MB + Index: 0.12MB + Engine MyISAM wpli_posts: Data: 0.45MB + Index: 0.05MB + Engine MyISAM wpli_rank_math_404_logs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_rank_math_analytics_gsc: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_rank_math_analytics_objects: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_rank_math_internal_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_rank_math_internal_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_rank_math_redirections: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_rank_math_redirections_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_shortpixel_folders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_shortpixel_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_shortpixel_postmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wpli_shortpixel_queue: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wpli_similar_posts: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpli_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_term_relationships: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_userback: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_usermeta: Data: 0.05MB + Index: 0.03MB + Engine MyISAM wpli_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wpli_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wpli_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_customer_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_orders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_orders_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_order_addresses: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_order_operational_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfBlocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfConfig: Data: 0.70MB + Index: 0.02MB + Engine MyISAM wpli_wfCrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfFileChanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfFileMods: Data: 3.81MB + Index: 0.34MB + Engine MyISAM wpli_wfHits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfHoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfIssues: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_wfKnownFileList: Data: 2.70MB + Index: 0.15MB + Engine MyISAM wpli_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfLocs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpli_wfLogins: Data: 0.33MB + Index: 0.07MB + Engine MyISAM wpli_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpli_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY wpli_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpli_wfNotifications: Data: 0.05MB + Index: 0.01MB + Engine MyISAM wpli_wfPendingIssues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfReverseCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfSecurityEvents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfSNIPCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfStatus: Data: 0.07MB + Index: 0.03MB + Engine MyISAM wpli_wfTrafficRates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wfWafFailures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wpr_rocket_cache: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpli_wpr_rucss_used_css: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_wsal_metadata: Data: 1.25MB + Index: 0.89MB + Engine MyISAM wpli_wsal_occurrences: Data: 0.31MB + Index: 0.14MB + Engine MyISAM wpli_yith_wcwl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpli_yith_wcwl_lists: Data: 0.00MB + Index: 0.00MB + Engine MyISAM Post Type Counts amn_mi-lite: 3 attachment: 88 custom_css: 2 customize_changeset: 37 fl-builder-template: 10 fl-theme-layout: 16 nav_menu_item: 6 page: 29 ph-website: 1 post: 1 product: 26 project-huddle: 1 revision: 181 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (33) ManageWP - Worker: by GoDaddy – 4.9.17 Gravity Forms: by Gravity Forms – 2.8.0 Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3 All In One WP Security: by All In One WP Security & Firewall Team – 5.2.5 Smarter Web Pro: by Brainstorm Force – 4.5.2 Astra Bulk Edit: by Brainstorm Force – 1.2.8 Astra Hooks: by Brainstorm Force – 1.0.2 Beaver Builder Plugin (Agency Version): by The Beaver Builder Team – 2.7.4.1 Beaver Themer: by The Beaver Builder Team – 1.4.9 Ultimate Addons for Beaver Builder: by Brainstorm Force – 1.35.17 PowerPack for Beaver Builder: by IdeaBox Creations – 2.34.4 Broken Link Checker: by WPMU DEV – 2.2.3 Call Now Button: by NowButtons.com – 1.4.2 Classic Editor: by WordPress Contributors – 1.6.3 Cookie Notice & Compliance for GDPR / CCPA: by Hu-manity.co – 2.4.11.1 Dashboard Welcome for Beaver Builder: by IdeaBox Creations – 1.0.8 Duplicate Page: by mndpsingh287 – 4.5.3 ELEX WooCommerce Product Price Custom Text (Before & After Text) and Discount: by ELEXtensions – 3.0.0 Anti-Malware Security and Brute-Force Firewall: by Eli Scheetz – 4.21.96 Gravity Forms Akismet Add-On: by Gravity Forms – 1.0 InstallActivateGo.com Copyright Current Date Shortcodes: by InstallActivateGo.com – 2.0.0 Really Simple SSL: by Really Simple Plugins – 7.2.0 Rank Math SEO: by Rank Math – 1.0.208.1 ShortPixel Image Optimizer: by ShortPixel - Convert WebP/AVIF & Optimize Images – 5.5.2 Show Page URL: by Smarter Websites – 1.0.0 Simple Local Avatars: by 10up – 2.7.7 User Switching: by John Blackbourn & contributors – 1.7.2 White Label CMS: by www.videousermanuals.com – 2.7 WooCommerce: by Automattic – 8.2.1 (update to version 8.4.0 is available) Wordfence Security: by Wordfence – 7.11.0 WP Activity Log: by Melapress – 4.6.1 YITH WooCommerce Catalog Mode: by YITH – 2.27.0 YITH WooCommerce Wishlist: by YITH – 3.26.0 Inactive Plugins (6) Better Search Replace: by WP Engine – 1.4.4 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.23.0 Minimal Coming Soon & Maintenance Mode: by WebFactory Ltd – 2.37 Video User Manuals: by Video User Manuals Pty Ltd – 2.5.12 WordPress Importer: by wordpressdotorg – 0.8.1 WP Rocket: by WP Media – 3.15.3 Dropin Plugins (2) advanced-cache.php: advanced-cache.php maintenance.php: maintenance.php Must Use Plugins (1) ManageWP - Worker Loader: by GoDaddy – 1.0.0 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: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – WC Pages Shop base: ? Page not set Cart: #14072 - /cart/ Checkout: #14073 - /checkout/ My account: #14074 - /my-account/ Terms and conditions: ? Page not set Theme Name: Smarter Child Theme Version: 1.0.0 Author URL: https://www.smarterwebsites.com.au/ Child Theme: ? Parent Theme Name: Astra Parent Theme Version: 4.5.2 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 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 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 settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-11-02 07:40:48 +08:00 Options: ? Notes: 65 Onboarding: completed Action Scheduler Complete: 65 Oldest: 2023-11-19 23:40:22 +0000 Newest: 2023-12-20 08:38:16 +0000 Failed: 8 Oldest: 2022-09-16 04:30:04 +0000 Newest: 2023-11-02 07:58:42 +0000 Pending: 1 Oldest: 2023-12-21 08:28:55 +0000 Newest: 2023-12-21 08:28:55 +0000 Status report information Generated at: 2023-12-21 08:48:35 +08:00 `
Hello SmarterWebsites
Thanks for contacting WooCommerce support.
We understand your concern about the error message indicating that a plugin failed to load properly. Here are some steps we suggest you to take to get this sorted:
- Update your WooCommerce plugin to the latest version, which is currently 8.4.0. This could resolve the issue if it is related to an outdated version of the plugin.
- Before updating WooCommerce plugin, check the compatibility of any other plugins you have installed that are dependent on WooCommerce.
- Before making any changes or updates, we highly recommend you to create a full backup of your site. This is a good safety measure to ensure that you can restore your site to its current state if required.
Please let us know how you go with these steps, or if you have any further queries. ??
Hi Zubair,
I did update it all plugins and themes but still didn’t resolved the issue.
I have sent a ticket to Astra, hopefully they’ll be able to sort it.
Thank you for you reply.
I understand that updating the WooCommerce plugin to the latest version did not resolve the problem.
To further pinpoint the source of this issue, could you deactivate all other plugins, leaving only WooCommerce active, and switch the theme to?Storefront?
After that, please can you share a copy of your sites System Status Report so that we can take a closer look at your sites current environment.
You can find this via?WooCommerce?→?Status. Select?Get system report
?and then?Download for Support
.Also, share a copy of the fatal error log. You can find this under
WooCommerce > System Status > Logs
.Looking forward to your response. ??
Howdy,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.
Cheers!
- The topic ‘Astra Theme + Woocommerce Issue’ is closed to new replies.