I am trying to use mailchimp in Laravel and a github repository to facilitate it. But when I send the form I get the following error:
Non-static method NZTim \ Mailchimp \ Mailchimp :: check () should not be called statically
public function correo(Request $request){
$listId= '00000000';
$emailAddress=$request->input('email');
if(Mailchimp::check($listId, $emailAddress))
return view('existente');
else
return 'no existe';
}
The repository is: link