• Resolved midnitedev

    (@midnitedev)


    We recently upgraded our PHP version to 8 and we started noticing an issue on the site whenever it requires sending off an email. We use PostSMTP plugin to send our emails via SendGrid and it works with some plugins that utilize it such as WP Contact Form 7.

    After troubleshooting, we found these issues related to PostSMTP:

    PHP Fatal error: Uncaught Error: Class ‘SendGrid\Mail\Mail’ not found in /Applications/MAMP/htdocs/project/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php:47

    Disabling the plugin fixes the issues and allows us to not experience the error pages we encounter. However, we want to utilize its SendGrid integration because of the platform’s features.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @midnitedev,

    PHP 8.x is not supported as yet, flagging to developer for consideration in future release.

    Kind Regards,
    Tim

    @yehudah – info for PHP8.x

    It’s not related to php 8.
    I get this error on PHP 7.2 too.

    Look at error line /plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php:47

    47 $email = new \SendGrid\Mail\Mail();

    It’s something related to autoloader.

    • This reply was modified 3 years, 1 month ago by kruglikov.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with PHP 8’ is closed to new replies.