Fatal error: Uncaught RuntimeException: Your data could not be encoded because it contains invalid UTF8 characters. in /home/www/vendor/jms/serializer/src/JMS/Serializer/JsonSerializationVisitor.php:229
Stack trace:
#0 /home/www/vendor/jms/serializer/src/JMS/Serializer/Serializer.php(98): JMS\Serializer\JsonSerializationVisitor->getResult()
#1 [internal function]: JMS\Serializer\Serializer->JMS\Serializer\{closure}(Object(JMS\Serializer\JsonSerializationVisitor))
#2 /home/www/vendor/phpoption/phpoption/src/PhpOption/Some.php(89): call_user_func(Object(Closure), Object(JMS\Serializer\JsonSerializationVisitor))
#3 /home/www/vendor/jms/serializer/src/JMS/Serializer/Serializer.php(99): PhpOption\Some->map(Object(Closure))
#4 /home/www/vendor/space/cms-bundle/Core/CacheBundle/CmsCache.php(129): JMS\Serializer\Serializer->serialize(Object(Space\Cms\Core\MenuBundle\Builder\MenuView), 'json', Object(JMS\Serializer\SerializationContext))
#5 /home/www/vendor/space/cms-bundle/Core/CacheBundle/CmsCache.php(53): Space\Cms\Core\CacheBu in /home/www/src/Wkfleb/FrontBundle/Resources/views/Template/default_template/blocks/footer_menus.html.twig on line 12