# SELF HOSTED | Error | 500 error after adding emoji to subject line

**URL:** <https://forum.mautic.org/t/self-hosted-error-500-error-after-adding-emoji-to-subject-line/2545>\
**Category:** General Discussion\
**Created:** [October 20, 2015, 10:57am UTC](https://forum.mautic.org/t/self-hosted-error-500-error-after-adding-emoji-to-subject-line/2545 "2015-10-20T10:57:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [October 20, 2015, 10:57am UTC](https://forum.mautic.org/t/self-hosted-error-500-error-after-adding-emoji-to-subject-line/2545/1 "2015-10-20T10:57:11Z")

</div>

Hello,  
  
  
  
I receive a 500 error after saving an email with an emoji in the subject line.  
  
  
  
Here are the error logs:

Code:

[2015-10-20 05:01:45] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionNotFoundHttpException: "Requested URL not found: /testproxy.php" at /home/mautic/public\_html/app/bundles/CoreBundle/Controller/Cller.php line 352 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): Requested URL not found: /testproxy.php at /home/mautic/public\_html/app/bundles/CoreBundle/Controller/CommonChp:352)"} [] [2015-10-20 10:46:30] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 [] [] [2015-10-20 10:46:30] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALTypesConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public\_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"[object] (Doctrine\DBAL\Types\ConversionException(code: 0): Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array at /homelic\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} [] [2015-10-20 10:49:00] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 [] [] [2015-10-20 10:49:00] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALTypesConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public\_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"[object] (Doctrine\DBAL\Types\ConversionException(code: 0): Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array at /homelic\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} [] [2015-10-20 11:22:02] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 [] [] [2015-10-20 11:22:02] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALTypesConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public\_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"[object] (Doctrine\DBAL\Types\ConversionException(code: 0): Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array at /homelic\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} [] [2015-10-20 11:38:19] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 [] [] [2015-10-20 11:38:20] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALTypesConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public\_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"[object] (Doctrine\DBAL\Types\ConversionException(code: 0): Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array at /homelic\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} []

  
I saw another post with a similar issue but in relation to leads.  
  
Is the fix for this the same process? If so, please help me out?  
  
I'm running the latest version.  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 21, 2015, 6:44am UTC](https://forum.mautic.org/t/self-hosted-error-500-error-after-adding-emoji-to-subject-line/2545/2 "2015-10-21T06:44:33Z")

</div>

Hi, thanks for this report, however, would you be so kind and report it to [https://github.com/mautic/mautic/issues](https://github.com/mautic/mautic/issues) ? That’s where developers can track it. It could be forgotten here. If you do so, please, add here a link to it so community members with similar problem can navigate there.

---

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [October 21, 2015, 7:29am UTC](https://forum.mautic.org/t/self-hosted-error-500-error-after-adding-emoji-to-subject-line/2545/3 "2015-10-21T07:29:58Z")

</div>

> [@3989:@escopecz](#):
>
> Hi, thanks for this report, however, would you be so kind and report it to [Issues · mautic/mautic · GitHub](https://github.com/mautic/mautic/issues) ? That’s where developers can track it. It could be forgotten here. If you do so, please, add here a link to it so community members with similar problem can navigate there.

Thanks for the reply.

I have logged it as asked.

Here is a link to the issue on Github:

> <https://github.com/mautic/mautic/issues/1029>
>
> Hello,
> 
> I receive a 500 error after saving an email with an emoji in the subject… line.
> 
> Here are the error logs:
> 
> \`\`\`
> \[2015-10-20 05:01:45\] mautic.ERROR: Uncaught PHP Exception Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException: "Requested URL not found: /testproxy.php" at /home/mautic/public\_html/app/bundles/CoreBundle/Controller/Cller.php line 352 {"exception":"\[object\] (Symfony\\\\Component\\\\HttpKernel\\\\Exception\\\\NotFoundHttpException(code: 0): Requested URL not found: /testproxy.php at /home/mautic/public\_html/app/bundles/CoreBundle/Controller/CommonChp:352)"} \[\]
> \[2015-10-20 10:46:30\] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 \[\] \[\]
> \[2015-10-20 10:46:30\] mautic.CRITICAL: Uncaught PHP Exception Doctrine\\DBAL\\Types\\ConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public\_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"\[object\] (Doctrine\\\\DBAL\\\\Types\\\\ConversionException(code: 0): Could not convert database value \\"a:1:{s:7:\\"subject\\";a...\\" to Doctrine Type array at /homelic\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} \[\]
> \[2015-10-20 10:49:00\] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 \[\] \[\]
> \[2015-10-20 10:49:00\] mautic.CRITICAL: Uncaught PHP Exception Doctrine\\DBAL\\Types\\ConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public\_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"\[object\] (Doctrine\\\\DBAL\\\\Types\\\\ConversionException(code: 0): Could not convert database value \\"a:1:{s:7:\\"subject\\";a...\\" to Doctrine Type array at /homelic\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} \[\]
> \[2015-10-20 11:22:02\] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 \[\] \[\]
> \[2015-10-20 11:22:02\] mautic.CRITICAL: Uncaught PHP Exception Doctrine\\DBAL\\Types\\ConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public\_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"\[object\] (Doctrine\\\\DBAL\\\\Types\\\\ConversionException(code: 0): Could not convert database value \\"a:1:{s:7:\\"subject\\";a...\\" to Doctrine Type array at /homelic\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} \[\]
> \[2015-10-20 11:38:19\] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 \[\] \[\]
> \[2015-10-20 11:38:20\] mautic.CRITICAL: Uncaught PHP Exception Doctrine\\DBAL\\Types\\ConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public\_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"\[object\] (Doctrine\\\\DBAL\\\\Types\\\\ConversionException(code: 0): Could not convert database value \\"a:1:{s:7:\\"subject\\";a...\\" to Doctrine Type array at /homelic\_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} \[\]
> \`\`\`
> 
> I saw another post with a similar issue but in relation to leads.
> 
> Is the fix for this the same process? If so, please help me out?
> 
> I'm running the latest version.
> 
> Thanks!

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 21, 2015, 7:34am UTC](https://forum.mautic.org/t/self-hosted-error-500-error-after-adding-emoji-to-subject-line/2545/4 "2015-10-21T07:34:20Z")

</div>

Perfect, thanks!

---

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [October 20, 2015, 10:57am UTC](https://forum.mautic.org/t/self-hosted-error-500-error-after-adding-emoji-to-subject-line/2545/5 "2015-10-20T10:57:11Z")

</div>

Hello,

I receive a 500 error after saving an email with an emoji in the subject line.

Here are the error logs:

`[2015-10-20 05:01:45] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionNotFoundHttpException: "Requested URL not found: /testproxy.php" at /home/mautic/public_html/app/bundles/CoreBundle/Controller/Cller.php line 352 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): Requested URL not found: /testproxy.php at /home/mautic/public_html/app/bundles/CoreBundle/Controller/CommonChp:352)"} []
[2015-10-20 10:46:30] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 [] []
[2015-10-20 10:46:30] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALTypesConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"[object] (Doctrine\DBAL\Types\ConversionException(code: 0): Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array at /homelic_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} []
[2015-10-20 10:49:00] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 [] []
[2015-10-20 10:49:00] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALTypesConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"[object] (Doctrine\DBAL\Types\ConversionException(code: 0): Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array at /homelic_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} []
[2015-10-20 11:22:02] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 [] []
[2015-10-20 11:22:02] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALTypesConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"[object] (Doctrine\DBAL\Types\ConversionException(code: 0): Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array at /homelic_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} []
[2015-10-20 11:38:19] mautic.NOTICE: PHP Notice: unserialize(): Error at offset 112 of 186 bytes - in file /home/mautic/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php - at line 58 [] []
[2015-10-20 11:38:20] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALTypesConversionException: "Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array" at /home/mautic/public_html/vendor/doctib/Doctrine/DBAL/Types/ConversionException.php line 46 {"exception":"[object] (Doctrine\DBAL\Types\ConversionException(code: 0): Could not convert database value "a:1:{s:7:"subject";a..." to Doctrine Type array at /homelic_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46)"} []
`

I saw another post with a similar issue but in relation to leads.

Is the fix for this the same process? If so, please help me out?

I’m running the latest version.

Thanks!

---

<div class="post-metadata">

**Author:** ![abovez](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@abovez](https://forum.mautic.org/u/abovez)\
**Post date:** [July 13, 2016, 1:36am UTC](https://forum.mautic.org/t/self-hosted-error-500-error-after-adding-emoji-to-subject-line/2545/6 "2016-07-13T01:36:56Z")

</div>

My Advise, switch from serialize to json object, you will never have such issues. we save in json\_encode as object, then we decode. serialize saves so much unnecessary data and easy to get corrupted.

this saved me [https://github.com/Blogestudio/Fix-Serialization](https://github.com/Blogestudio/Fix-Serialization)

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/self-hosted-error-500-error-after-adding-emoji-to-subject-line/2545/7 "2020-02-02T22:57:49Z")

</div>


