-return-' . str_replace( ',', '-', $gateway_id ), 'status' => 'success', 'content' => sprintf( /* translators: the title of the payment gateway */ __( '%s connected successfully', 'woocommerce' ), $payment_gateway->method_title ), ) ); wc_admin_record_tracks_event( 'tasklist_payment_connect_method', array( 'payment_method' => $gateway_id, ) ); wp_safe_redirect( wc_admin_url() ); } }
Fatal error: Uncaught Error: Class "Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions\PaymentGatewaysController" not found in /htdocs/wp-content/plugins/woocommerce/src/Admin/Features/PaymentGatewaySuggestions/Init.php:27 Stack trace: #0 /htdocs/wp-content/plugins/woocommerce/src/Admin/Features/Features.php(138): Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions\Init->__construct() #1 /htdocs/wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\Admin\Features\Features::load_features('') #2 /htdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #3 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /htdocs/wp-settings.php(632): do_action('init') #5 /htdocs/wp-config.php(96): require_once('/htdocs/wp-sett...') #6 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #7 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #8 /htdocs/index.php(17): require('/htdocs/wp-blog...') #9 {main} thrown in /htdocs/wp-content/plugins/woocommerce/src/Admin/Features/PaymentGatewaySuggestions/Init.php on line 27