• Hi,

    Thanks for a great plugin.

    We’re using Sendgrid to send emails and configure the plugin accordingly. However we have the following warnings in our servers’ log files:

    PHP message: PHP Warning:  current() expects parameter 1 to be array, null given in /post-smtp/Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/lib/mail/Mail.php on line 281 
    PHP message: PHP Warning:  Invalid argument supplied for foreach() in /post-smtp/Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/lib/mail/Mail.php on line 291 
    PHP message: ERROR PostmanWpMail: Exception code=0 message=The to array is required for all personalization objects, and must have at least one email object with a valid email address

    What is the cause of this? Is it something we’re doing wrong in the configuration?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @leac,

    Sorry for the delay in responding. What version of PHP are you running on the site?

    Kind Regards,
    Tim

    Thread Starter Lea

    (@leac)

    Thanks Tim, and sorry too for my late response.
    I haven’t been experiencing this anymore, so from my standpoint this issue can be closed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Warning in Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/lib/mail/M’ is closed to new replies.