Fix Woocommerce Revolut Payment plugin issue

Job ID: 31665971

Budget: $10 – $30 USD

Hi. I have a problem with the Revolut Payment Gateway plugin for Woocommerce, and it appeared suddenly today. It worked as it should yesterday. It seems that suddenly the transactions/payments from customers goes through and completes in Revolut Business account, but they dont appear as orders in Woocommerce, and that is a big issue. We get payments in Revolut Payments but we dont get orders in Woocommerce.
Can you fix this issue?

First part of error log:

2021-09-30T10:12:03+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WCS_Related_Order_Store_Cached_CPT::delete_relations() must be an instance of WC_Order, bool given, called in /home/customer/www/fittformation.com/public_html/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptions-switcher.php on line 775 and defined in /home/customer/www/fittformation.com/public_html/wp-content/plugins/woocommerce-subscriptions/includes/data-stores/class-wcs-related-order-store-cached-cpt.php:146
Stack trace:
#0 /home/customer/www/fittformation.com/public_html/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptions-switcher.php(775): WCS_Related_Order_Store_Cached_CPT->delete_relations(false, 'switch')
#1 /home/customer/www/fittformation.com/public_html/wp-includes/class-wp-hook.php(303): WC_Subscriptions_Switcher::add_order_meta(0, Array)
#2 /home/customer/www/fittformation.com/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#3 /home/customer/www/fittformation.com/public_h in /home/customer/www/fittformation.com/public_html/wp-content/plugins/woocommerce-subscriptions/includes/data-stores/class-wcs-related-order-store-cached-cpt.php on line 146

2021-09-30T10:19:56+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WCS_Related_Order_Store_Cached_CPT::delete_relations() must be an instance of WC_Order, bool given, called in /home/customer/www/fittformation.com/public_html/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptions-switcher.php on line 775 and defined in /home/customer/www/fittformation.com/public_html/wp-content/plugins/woocommerce-subscriptions/includes/data-stores/class-wcs-related-order-store-cached-cpt.php:146
Stack trace:
#0 /home/customer/www/fittformation.com/public_html/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptions-switcher.php(775): WCS_Related_Order_Store_Cached_CPT->delete_relations(false, 'switch')
#1 /home/customer/www/fittformation.com/public_html/wp-includes/class-wp-hook.php(303): WC_Subscriptions_Switcher::add_order_meta(0, Array)
#2 /home/customer/www/fittformation.com/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#3 /home/customer/www/fittformation.com/public_h in /home/customer/www/fittformation.com/public_html/wp-content/plugins/woocommerce-subscriptions/includes/data-stores/class-wcs-related-order-store-cached-cpt.php on line 146
Related categories: PHP WordPress MySQL HTML WooCommerce