Cant send emails getting this error
[11-Oct-2023 22:27:05 UTC] PHP Warning: mb_encode_mimeheader() is bugged. Please use iconv_mime_encode() instead in /var/www/html/vendor/symfony/polyfill-mbstring/Mbstring.php>
[11-Oct-2023 22:27:05 UTC] PHP Fatal error: Uncaught TypeError: mb_encode_mimeheader(): Return value must be of type string, null returned in /var/www/html/vendor/symfony/poly>
Stack trace:
#0 /var/www/html/public/legacy/include/Localization/Localization.php(456): mb_encode_mimeheader()
#1 /var/www/html/public/legacy/modules/Emails/Email.php(3111): Localization->translateCharsetMIME()
#2 /var/www/html/public/legacy/modules/Emails/EmailsController.php(283): Email->sendFromOutbound()
#3 /var/www/html/public/legacy/include/MVC/Controller/SugarController.php(522): EmailsController->action_send()
#4 /var/www/html/public/legacy/include/MVC/Controller/SugarController.php(491): SugarController->do_action()
#5 /var/www/html/public/legacy/include/MVC/Controller/SugarController.php(465): SugarController->handle_action()
#6 /var/www/html/public/legacy/include/MVC/Controller/SugarController.php(361): SugarController->process()
#7 /var/www/html/public/legacy/include/MVC/SugarApplication.php(101): SugarController->execute()
#8 /var/www/html/public/legacy/index.php(52): SugarApplication->execute()
#9 {main}
thrown in /var/www/html/vendor/symfony/polyfill-mbstring/bootstrap80.php on line 21
any ideas?