Woocommerce causing critical error
-
Hopefully someone has some ideas and I’m asking in the right place, we used to have Woocommerce and payments working fine, then the website crashed with: There has been a critical error on this website. Please check your site admin email inbox for instructions. I had to go into the ftp to change the plugin folder to get access. Since I got back in I deleted most things and disconnected everything except woocommerce, woopayments and jetpack. Everything seems to be working until I try to turn off the sandbox and I get: There has been a critical error on this website. Please check your site admin email inbox for instructions. again – no idea why, everything used to work OK, I tried changing the theme in case it was something to do with that and it still didn’t work. I don’t know much about these kind of things so any help would be appreciated.
Given some very kind advice on another site I ran wp debug and got the following:
Uncaught WCPay\Exceptions\API_Exception: Error: Error deleting account. Unable to delete live accounts which have completed onboarding. in /home/storage/564/3465564/user/htdocs/wp-content/plugins/woocommerce-payments/includes/wc-payment-api/class-wc-payments-api-client.php:2037 Stack trace: #0 /home/storage/564/3465564/user/htdocs/wp-content/plugins/woocommerce-payments/includes/wc-payment-api/class-wc-payments-api-client.php(1851): WC_Payments_API_Client->check_response_for_errors(Array) #1 /home/storage/564/3465564/user/htdocs/wp-content/plugins/woocommerce-payments/includes/wc-payment-api/class-wc-payments-api-client.php(2479): WC_Payments_API_Client->request(Array, ‘accounts/delete’, ‘POST’, true, true) #2 /home/storage/564/3465564/user/htdocs/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-account.php(1031): WC_Payments_API_Client->delete_account(true) #3 /home/storage/564/3465564/user/htdocs/wp-includes/class-wp-hook.php(324): WC_Payments_Account->maybe_handle_onboarding(”) #4 /home/storage/564/3465564/user/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 /home/storage/564/3465564/user/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/storage/564/3465564/user/htdocs/wp-admin/admin.php(175): do_action(‘admin_init’) #7 {main} thrown in /home/storage/564/3465564/user/htdocs/wp-content/plugins/woocommerce-payments/includes/wc-payment-api/class-wc-payments-api-client.php on line 2037
Which is a lot to try and get my head rounds – not sure if this gives anyone any ideas of where I can start –
The page I need help with: [log in to see the link]
- The topic ‘Woocommerce causing critical error’ is closed to new replies.