Notice: iconv_mime_decode(): Detected an illegal character in input string in Maillog->mail()

Created on 23 November 2022, over 1 year ago
Updated 23 March 2024, 3 months ago

When I have 💙 in my mail text then I have:

Notice: iconv_mime_decode(): Detected an illegal character in input string in Drupal\maillog\Plugin\Mail\Maillog->mail() (line 40 of /DATA/home-sites/lom/web/modules/contrib/maillog/src/Plugin/Mail/Maillog.php)
#0 /DATA/home-sites/lom/web/core/includes/bootstrap.inc(347): _drupal_error_handler_real(8, 'iconv_mime_deco...', '/DATA/home-site...', 40)
#1 [internal function]: _drupal_error_handler(8, 'iconv_mime_deco...', '/DATA/home-site...', 40)
#2 /DATA/home-sites/lom/web/modules/contrib/maillog/src/Plugin/Mail/Maillog.php(40): iconv_mime_decode('\xF0\x9F\x92\x99 \xD0\x9F\xD0\xBE\xD0\xB6\xD0\xB0\xD0\xBB...')
#3 /DATA/home-sites/lom/web/modules/contrib/mailsystem/src/Adapter.php(50): Drupal\maillog\Plugin\Mail\Maillog->mail(Array)
#4 /DATA/home-sites/lom/web/core/lib/Drupal/Core/Mail/MailManager.php(307): Drupal\mailsystem\Adapter->mail(Array)
#5 /DATA/home-sites/lom/web/core/lib/Drupal/Core/Mail/MailManager.php(180): Drupal\Core\Mail\MailManager->doMail('rg', 'notify', 'vtormet_08@mail...', 'ru', Array, NULL, true)
#6 /DATA/home-sites/lom/web/core/lib/Drupal/Core/Render/Renderer.php(564): Drupal\Core\Mail\MailManager->Drupal\Core\Mail\{closure}()
#7 /DATA/home-sites/lom/web/core/lib/Drupal/Core/Mail/MailManager.php(181): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#8 /DATA/home-sites/lom/web/modules/contrib/mailsystem/src/MailsystemManager.php(70): Drupal\Core\Mail\MailManager->mail('rg', 'notify', 'vtormet_08@mail...', 'ru', Array, NULL, true)
#9 /DATA/home-sites/rg_common/modules/rg/src/MailHandler.php(193): Drupal\mailsystem\MailsystemManager->mail('rg', 'notify', 'vtormet_08@mail...', 'ru', Array, NULL)
#10 /DATA/home-sites/rg_common/modules/rg_notification/modules/after_long_break/src/Mail/NotifyMail.php(55): Drupal\rg\MailHandler->sendMail('vtormet_08@mail...', '\xF0\x9F\x92\x99 \xD0\x9F\xD0\xBE\xD0\xB6\xD0\xB0\xD0\xBB...', Array, Array, Array)
#11 /DATA/home-sites/rg_common/modules/rg_notification/modules/after_long_break/src/AfterLongBreakNotifier.php(142): Drupal\rg_notification_after_long_break\Mail\NotifyMail->send(Object(Drupal\user\Entity\User), 30, '1\xC2\xA0000\xC2\xA0\xE2\x82\xBD', '1\xC2\xA0000\xC2\xA0\xE2\x82\xBD', '30\xC2\xA0\xE2\x82\xBD', 'COMEBACK1527692...', Object(Drupal\Core\Url), 'default')
#12 /DATA/home-sites/rg_common/modules/rg_notification/src/Plugin/QueueWorker/RgNotifierQueueWorkerBase.php(72): Drupal\rg_notification_after_long_break\AfterLongBreakNotifier->notify(Object(Drupal\user\Entity\User))
#13 /DATA/home-sites/lom/web/core/lib/Drupal/Core/Cron.php(182): Drupal\rg_notification\Plugin\QueueWorker\RgNotifierQueueWorkerBase->processItem('6132')
#14 /DATA/home-sites/lom/web/modules/contrib/ultimate_cron/src/UltimateCron.php(69): Drupal\Core\Cron->processQueues()
#15 /DATA/home-sites/lom/web/modules/contrib/ultimate_cron/src/ProxyClass/UltimateCron.php(70): Drupal\ultimate_cron\UltimateCron->run()
#16 /DATA/home-sites/lom/web/core/modules/system/src/CronController.php(46): Drupal\ultimate_cron\ProxyClass\UltimateCron->run()
#17 [internal function]: Drupal\system\CronController->run()
#18 /DATA/home-sites/lom/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#19 /DATA/home-sites/lom/web/core/lib/Drupal/Core/Render/Renderer.php(564): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#20 /DATA/home-sites/lom/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#21 /DATA/home-sites/lom/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#22 /DATA/home-sites/lom/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#23 /DATA/home-sites/lom/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#24 /DATA/home-sites/lom/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 /DATA/home-sites/lom/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 /DATA/home-sites/lom/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(191): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 /DATA/home-sites/lom/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#28 /DATA/home-sites/lom/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 /DATA/home-sites/lom/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /DATA/home-sites/lom/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /DATA/home-sites/lom/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /DATA/home-sites/lom/web/core/lib/Drupal/Core/DrupalKernel.php(709): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /DATA/home-sites/lom/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#34 {main}
.
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇦Ukraine super_romeo Kiev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024