Title: Fatal error!
Last modified: February 5, 2021

---

# Fatal error!

 *  [Dave](https://wordpress.org/support/users/deeve007/)
 * (@deeve007)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-3773/)
 * I am getting the following error trying to use the “lost password” functionality:
 *     ```
       Fatal error: Uncaught Error: Call to undefined function SendGrid\Mail\mb_convert_encoding() in /home/bracemec/public_html/hs2020/wp-content/plugins/post-smtp/Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/lib/mail/Content.php:88 Stack trace: #0 /home/bracemec/public_html/hs2020/wp-content/plugins/post-smtp/Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/lib/mail/Content.php(44): SendGrid\Mail\Content->setValue('This email was ...') #1 /home/bracemec/public_html/hs2020/wp-content/plugins/post-smtp/Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/lib/mail/Mail.php(1088): SendGrid\Mail\Content->__construct('text/plain', 'This email was ...') #2 /home/bracemec/public_html/hs2020/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.php(82): SendGrid\Mail\Mail->addContent('text/plain', 'This email was ...') #3 /home/bracemec/public_html/hs2020/wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(236): PostmanSendGridMailEngine->send(Object(PostmanMessage)) #4 /home/bracemec/public_h in /home/bracemec/public_html/hs2020/wp-content/plugins/post-smtp/Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/lib/mail/Content.php on line 88
       ```
   
 * ————–
 * This is the output from the plugin diagnostic test:
 *     ```
       Mailer: postsmtp
       HostName: healthspaceclinics.com.au
       cURL Version: 7.71.0
       OpenSSL Version: OpenSSL/1.1.1d
       OS: Linux vmcp52.digitalpacific.com.au 2.6.32-954.3.5.lve1.4.78.el6.x86_64 #1 SMP Thu Mar 26 08:20:27 EDT 2020 x86_64
       PHP: Linux 7.4.14 C
       PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
       WordPress: 5.6.1 en_US UTF-8
       WordPress Theme: Health Space Clinics custom theme
       WordPress Plugins: Gravity Forms, Advanced Custom Fields: Extended, Add Post Type Instructions, Adminimize, Advanced Custom Fields PRO, Akismet Anti-Spam, The SEO Framework, Breadcrumb Trail, Classic Editor, Custom Dashboard Widgets, Custom Post Type UI, Duplicator, Gravity Forms + Custom Post Types, Bootstrap 4 for Gravity Forms, Gravity Forms Mailchimp Add-On, Members, Minimum Featured Image Size, Post SMTP, Post Types Order, Stream, The SEO Framework - Extension Manager, Advanced Editor Tools (previously TinyMCE Advanced), UpdraftPlus - Backup/Restore, Wordfence Security, WP Fastest Cache, WP-Paginate
       WordPress wp_mail Owner: /home/bracemec/public_html/hs2020/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
       WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
       WordPress wp_mail_from Filter(s): wordfence::fixWPMailFromAddress
       Postman: 2.0.20
       Postman Sender Domain (Envelope|Message): healthspaceclinics.com.au | healthspaceclinics.com.au
       Postman Prevent Message Sender Override (Email|Name): No | No
       Postman Active Transport: SendGrid API (https://api.sendgrid.com:443)
       Postman Active Transport Status (Ready|Connected): Yes | Yes
       Postman Deliveries (Success|Fail): 9117 | 57
       ```
   
 * —–
 * Any help you can offer urgently much appreciated!
    -  This topic was modified 5 years, 4 months ago by [Yui](https://wordpress.org/support/users/fierevere/).
    -  This topic was modified 5 years, 4 months ago by [Yui](https://wordpress.org/support/users/fierevere/).
      Reason: please use CODE button for code formatting

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

 *  Thread Starter [Dave](https://wordpress.org/support/users/deeve007/)
 * (@deeve007)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-3773/#post-14007906)
 * For a workaround I changed the hosting PHP version from 7.4 to 7.2 and the error
   didn’t occur, but obviously I would prefer the bug to be fixed so I can change
   back to 7.4 if possible. Thanks.
 *  [yehudah](https://wordpress.org/support/users/yehudah/)
 * (@yehudah)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-3773/#post-14008089)
 * Thanks, will do.

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

The topic ‘Fatal error!’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [yehudah](https://wordpress.org/support/users/yehudah/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-3773/#post-14008089)
 * Status: not resolved