Error in wp-mailinglist-plugin.php trying to activate plugin

I've uploaded Newsletter plugin version to my WP site but it fails to activate with the following error.
Parse error: syntax error, unexpected T_STRING in /my/path/public_html/wp-content/plugins/newsletters-lite/wp-mailinglist-plugin.php on line 2107

This is the line the error refers to:
$mg = new Mailgun\Mailgun($mailgun_apikey);

What might be causing this?


Sign In or Register to comment.