• [22-Feb-2023 12:52:45 UTC] PHP Notice: Undefined variable: email in /public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php on line 206
    [22-Feb-2023 12:52:45 UTC] PHP Fatal error: Uncaught Error: Call to a member function addAttachment() on null in /public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php:206
    Stack trace:

    0 public_html/wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(236): PostmanSendGridMailEngine->send()

    1 public_html/wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(60): PostmanWpMail->sendMessage()

    2 /public_html/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php(121): PostmanWpMail->send()

    3 /public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(688): wp_mail()

    4 /public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-on-hold-order.php(91): WC_Email->send()

    5 /public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php on line 206

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support M Haseeb

    (@haseeb0001)

    @meras Hi,

    I hope you are doing well.

    Let me look into it, can you please share the diagnostic test report of Post SMTP or share the PHP version of your website?

    Thanks

    Thread Starter Žygimantas

    (@meras)

    Hey, @haseeb0001
    I can’t make a diagnostic report, because switching to another plugin.
    My PHP 7.4. Plugin was configured to send emails via SendGrid. WooCommerce version: 7.4.0
    Server info: Apache/2.4.54 (Debian)
    MySQL version: 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~buster-log
    Website hosted by Cloudways.
    Hope it helps.

    Plugin Support M Haseeb

    (@haseeb0001)

    Hi @meras

    I hope you are doing well.

    We have fixed this issue on our Beta version; please download it from here, test it, and let me know.

    Thanks

    Thread Starter Žygimantas

    (@meras)

    @haseeb0001 
    I’m glad you found the cause of the problem and fixed the code.

    Sorry – can’t test it.

    Regards!

    Plugin Support M Haseeb

    (@haseeb0001)

    @meras

    Thanks for updating us; we have also released the updated version of our plugin.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘SendGrid: PHP Fatal error’ is closed to new replies.