It doesn’t fix the issue, as 5.0.2 still creates fatal errors:
2022-11-09T16:48:06+00:00 CRITICAL Uncaught Error: Class 'WC_Payments_Admin_Settings' not found in /home/comixpoc/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-account.php:572
Stack trace:
#0 /home/comixpoc/public_html/wp-includes/class-wp-hook.php(308): WC_Payments_Account->maybe_redirect_to_onboarding('')
#1 /home/comixpoc/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/comixpoc/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/comixpoc/public_html/wp-admin/admin-post.php(30): do_action('admin_init')
#4 {main}
thrown in /home/comixpoc/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-account.php on line 572