Update: I have deleted the plugin manually for now so I can continue to work on the site – in case you don’t see the error.
I understand when you install WooCommerce and activate it, you are getting fatal errors. I looked into this further and it looks like it might to related to these two issues reported to our developers:
https://github.com/woocommerce/woocommerce/issues/25895
https://github.com/woocommerce/woocommerce/issues/25997
As mentioned in one of the comments you can try deleting the latest WooCommerce 4.0.1 plugin from your site.
Download and install an older version like 3.9.3 WooCommerce from here:
https://ww.wp.xz.cn/plugins/woocommerce/advanced/
Install Action Scheduler plugin manually by downloading from here: https://github.com/woocommerce/action-scheduler/archive/master.zip
Once it’s active, go to Tools -> Scheduled Actions. You should see a notice indicating that it attempted to create the tables for you. Once you update to WC 4.0.1 you can remove the plugin.
Let us know how that goes, if that doesn’t work, could you please share a copy of your site’s System Status after activating WooCommerce if you can? You can find it via WooCommerce > Status.
Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Hi there, thanks ever so much for the message.
I’ve spotted those two issues and they look very familiar to what I’m experiencing. The issue is I can’t activate the Action Scheduler without a fatal error. I’ve tried (with all plugins deactivated and a standard theme):
– Manual install of 3.9.3 and Action Scheduler – Fatal Error
– Manual install of 4.0.0 and Update Database – Fatal Error
– Manual install of 4.0.0 and Action Scheduler first – Fatal Error
I’m at a complete loss as to what to do next.
I am also getting a Fatal eroor when trying to activate WooCommerce, both within my hosted site and on a local WP installation:
All plugins are up to date. However, I continuously get this error : –
Fatal error: Uncaught Error: Call to undefined function get_woocommerce_currency() in /home/sweettop/public_html/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-settings.php:366 Stack trace: #0 /home/sweettop/public_html/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-plugin.php(322): WC_Gateway_PPEC_Settings->currency_has_decimal_restriction() #1 /home/sweettop/public_html/wp-includes/class-wp-hook.php(287): WC_Gateway_PPEC_Plugin->activate(”) #2 /home/sweettop/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #3 /home/sweettop/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /home/sweettop/public_html/wp-admin/plugins.php(179): do_action(‘activate_woocom…’) #5 {main} thrown in /home/sweettop/public_html/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-settings.php on line 366
I have spoken to my hosting people and they say I should speak to the developer of the plugin. Though I am dubious about this.
My active plugins are: –
Contact Form 7
Version 5.1.9 by Takayuki Miyoshi
Elementor
Version 2.9.9 by Elementor.com
Elementor Pro
Version 2.9.5 by Elementor.com
Health Check & Troubleshooting
Version 1.4.4 by The ww.wp.xz.cn community
My theme details are:-
(I have tried using the TwentySeventeen theme, but geat the same error)
Name
Astra (astra)
Version
2.4.4
Author
Brainstorm Force
Author website
https://wpastra.com/about/
Parent theme
None
Theme features
astra_hooks, align-wide, automatic-feed-links, title-tag, post-thumbnails, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, amp, widgets, menus
Theme directory location
C:\Bitnami\wordpress-5.4.1-0\apps\wordpress\htdocs/wp-content/themes/astra
I did a bit more testing and found that Version 3.9.3 doesn’t give the error. So obviously they’ve broken something in the updated version.
Missy a11n
(@m155y5)
Automattic Happiness Engineer
@lewisvilleuk and @jamesisnow –
It sounds like in both of your situations there could be a plugin that is conflicting with the latest version of WooCommerce.
After running a full backup of your site and database, I would recommend disabling all plugins and switching to the TwentyTwenty theme and then trying to install WooCommerce with those disabled. If you are then able to install WooCommerce, you’ll know it’s one of your plugins conflicting. You can then re-enable the plugins one at a time. It’s likely that if one of them is conflicting, you’ll get a fatal error somewhere along the way while re-enabling the plugins. Then you’ll know which one it is.
Missy a11n
(@m155y5)
Automattic Happiness Engineer
We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.