Homepage › Forum › Product Support › Motor › critical error, plugins rolled back to old version after successful update.
This topic contains 1 reply, has 2 voices, and was last updated by Jackie 1 month ago.
-
AuthorPosts
-
1 month ago #30073
After creating an order, a critical error will be shown. I tried updating the plugins and it will rolled back to the same version even though it showed plugins are updated successfully. Please see the attached screenshot.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.3
Active theme: Yolo Motor (version 1.8.2)
Current plugin: WooCommerce Payments (version 6.3.2)
PHP version 8.0.30Error Details
=============
An error of type E_ERROR was caused in line 1906 of the file /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce-<wbr />payments/includes/wc-payment-<wbr />api/class-wc-payments-api-<wbr />client.php. Error message: Uncaught WCPay\Exceptions\API_Exception<wbr />: Error: Could not process the account. in /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce-<wbr />payments/includes/wc-payment-<wbr />api/class-wc-payments-api-<wbr />client.php:1906
Stack trace:
#0 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce-<wbr />payments/includes/wc-payment-<wbr />api/class-wc-payments-api-<wbr />client.php(1732): WC_Payments_API_Client->check_<wbr />response_for_errors(Array)
#1 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce-<wbr />payments/includes/wc-payment-<wbr />api/class-wc-payments-api-<wbr />client.php(1213): WC_Payments_API_Client->reques<wbr />t(Array, 'payment_methods...', 'GET')
#2 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce-<wbr />payments/includes/payment-<wbr />methods/class-upe-payment-<wbr />gateway.php(1169): WC_Payments_API_Client->get_pa<wbr />yment_method('')
#3 /home4/vl97sypt/public_html/wp<wbr />-includes/class-wp-hook.php(31<wbr />2): WCPay\Payment_Methods\UPE_Paym<wbr />ent_Gateway->set_payment_metho<wbr />d_title_for_email(Object(Autom<wbr />attic\WooCommerce\Admin\Overri<wbr />des\Order), false, false)
#4 /home4/vl97sypt/public_html/wp<wbr />-includes/class-wp-hook.php(33<wbr />4): WP_Hook->apply_filters(NULL, Array)
#5 /home4/vl97sypt/public_html/wp<wbr />-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce/<wbr />templates/emails/email-order-<wbr />details.php(22): do_action('woocommerce_ema...'<wbr />, Object(Automattic\WooCommerce\<wbr />Admin\Overrides\Order), false, false, Object(WC_Email_Customer_Invoi<wbr />ce))
#7 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce/<wbr />includes/wc-core-functions.<wbr />php(345): include('/home4/vl97sypt...')
#8 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce/<wbr />includes/class-wc-emails.php(<wbr />421): wc_get_template('emails/email-<wbr />or...', Array)
#9 /home4/vl97sypt/public_html/wp<wbr />-includes/class-wp-hook.php(31<wbr />0): WC_Emails->order_details(Objec<wbr />t(Automattic\WooCommerce\Admin<wbr />\Overrides\Order), false, false, Object(WC_Email_Customer_Invoi<wbr />ce))
#10 /home4/vl97sypt/public_html/wp<wbr />-includes/class-wp-hook.php(33<wbr />4): WP_Hook->apply_filters(NULL, Array)
#11 /home4/vl97sypt/public_html/wp<wbr />-includes/plugin.php(517): WP_Hook->do_action(Array)
#12 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce/<wbr />templates/emails/customer-<wbr />invoice.php(69): do_action('woocommerce_ema...'<wbr />, Object(Automattic\WooCommerce\<wbr />Admin\Overrides\Order), false, false, Object(WC_Email_Customer_Invoi<wbr />ce))
#13 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce/<wbr />includes/wc-core-functions.<wbr />php(345): include('/home4/vl97sypt...')
#14 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce/<wbr />includes/wc-core-functions.<wbr />php(364): wc_get_template('emails/custom<wbr />er...', Array, '', '')
#15 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce/<wbr />includes/emails/class-wc-<wbr />email-customer-invoice.php(<wbr />159): wc_get_template_html('emails/c<wbr />ustomer...', Array)
#16 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce/<wbr />includes/emails/class-wc-<wbr />email.php(588): WC_Email_Customer_Invoice->get<wbr />_content_html()
#17 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce/<wbr />includes/emails/class-wc-<wbr />email-customer-invoice.php(<wbr />139): WC_Email->get_content()
#18 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce-<wbr />pdf-invoices-packing-slips/<wbr />includes/class-wcpdf-admin.<wbr />php(936): WC_Email_Customer_Invoice->tri<wbr />gger(17395, Object(Automattic\WooCommerce\<wbr />Admin\Overrides\Order))
#19 /home4/vl97sypt/public_html/wp<wbr />-includes/class-wp-hook.php(31<wbr />0): WPO\WC\PDF_Invoices\Admin->sen<wbr />d_emails(17395, Object(WP_Post))
#20 /home4/vl97sypt/public_html/wp<wbr />-includes/class-wp-hook.php(33<wbr />4): WP_Hook->apply_filters(NULL, Array)
#21 /home4/vl97sypt/public_html/wp<wbr />-includes/plugin.php(517): WP_Hook->do_action(Array)
#22 /home4/vl97sypt/public_html/wp<wbr />-content/plugins/woocommerce/<wbr />includes/admin/class-wc-admin-<wbr />meta-boxes.php(258): do_action('woocommerce_pro...'<wbr />, 17395, Object(WP_Post))
#23 /home4/vl97sypt/public_html/wp<wbr />-includes/class-wp-hook.php(31<wbr />2): WC_Admin_Meta_Boxes->save_meta<wbr />_boxes(17395, Object(WP_Post))
#24 /home4/vl97sypt/public_html/wp<wbr />-includes/class-wp-hook.php(33<wbr />4): WP_Hook->apply_filters(17395, Array)
#25 /home4/vl97sypt/public_html/wp<wbr />-includes/plugin.php(517): WP_Hook->do_action(Array)
#26 /home4/vl97sypt/public_html/wp<wbr />-includes/post.php(4751): do_action('save_post', 17395, Object(WP_Post), true)
#27 /home4/vl97sypt/public_html/wp<wbr />-includes/post.php(4853): wp_insert_post(Array, false, true)
#28 /home4/vl97sypt/public_html/wp<wbr />-admin/includes/post.php(445): wp_update_post(Array)
#29 /home4/vl97sypt/public_html/wp<wbr />-admin/post.php(227): edit_post()
#30 {main}
thrownAttachments:
You must be logged in to view attached files.1 month ago #30078Hi.
Thank you for contacting us.
As I see the issue from the WooCommerce payment plugin:
An error of type E_ERROR was caused in line 1906 of the file /home4/vl97sypt/public_html/wp
<wbr />-content/plugins/woocommerce-<wbr />payments/includes/wc-payment-<wbr />api/class-wc-payments-api-<wbr />client.php
Did you contact the plugin author to check about that issue?
Please get in touch with the plugin author first. Maybe they can help you fix the issue.
Thanks.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.