Replace :
drupal_set_message(t('Unable to send mail : PHPMailer library does not exist.', 'error'));
With :
drupal_set_message(t('Unable to send mail : PHPMailer library does not exist.'), 'error');

The t() funtion is just needed for the message of drupal_set_message().

Comments

mailjet plugins’s picture

Assigned: Unassigned » mailjet plugins
Status: Active » Fixed

Fixed for the next release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bachbach’s picture

hi

and when this next release will be available, it's been a year now …

thanks

sdfsdfsdfsdf098sd09f8s0d98fs0d9f’s picture

Any update?

doudou225’s picture

I have the same problem, but it seems that there is no solution available on the site.
Who is out ther to help?
Error message:
Recoverable fatal error : Argument 2 passed to t() must be of the type array, string given, called in /var/www/sites/all/modules/Mailjet/mailjet.mail.inc on line 66 and defined dans t() (ligne 1459 dans /var/www/includes/bootstrap.inc).