TypeError thrown

Argument 1 passed to cost_calculator_phpmailer_init() must be an instance of PHPMailer, instance of PHPMailer\PHPMailer\PHPMailer given, called in /homepages/22/d519113048/htdocs/clickandbuilds/MatchPointSevilla/wp-includes/class-wp-hook.php on line 292