AJAX Registration Check

Fatal error on Twig - AJAX Registration Check

Fatal error on Twig

by Lord Phobos » Wed Mar 28, 2018 3:58 pm


enabling this extension it is impossibile to register at my board http://www.anonimagiocatori.it/forum :

Trying to, after clicking on "accept" on the first form, user get a blank page with this:

Code: Select all

Fatal error: Uncaught exception 'Twig_Error_Runtime' with message 'The string to escape is not a valid UTF-8 string in "ucp_register.html" at line 47.' in /web/htdocs/www.anonimagiocatori.it/home/forum/vendor/twig/twig/lib/Twig/Extension/Core.php:1049 Stack trace: #0 /web/htdocs/www.anonimagiocatori.it/home/forum/cache/production/twig/d8/d825d8fe0482609a53fec53319d15c8457ae0f8f7437fd967833643e82f7b454.php(56): twig_escape_filter(Object(phpbb\template\twig\environment), 'L\x92input non \xE8 u...', 'js') #1 /web/htdocs/www.anonimagiocatori.it/home/forum/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_be628825673e5a12b636792ab546a18bc6e8d1a2f069cbaf7d8caf8d1813f7e3->doDisplay(Array, Array) #2 /web/htdocs/www.anonimagiocatori.it/home/forum/vendor/twig/twig/lib/Twig/Template.php(403): Twig_Template->displayWithErrorHandling(Array, Array) #3 /web/htdocs/www.anonimagiocatori.it/home/forum/cache/production/twig/f6/f61c71f817d75765180848da5af7b324a40c1e23f18d2130907f89dcb5fc27ed.php(149): Twig_Template->display(Array) in /web/htdocs/www.anonimagiocatori.it/home/forum/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1049
I have 5.5.38 php version, 3.2.2 version of phpBB, an italian language, prosilver (colors modified) style.

Any advice?

Many thanks.
Lord Phobos
Registered User
Posts: 613
Joined: Tue May 18, 2004 11:41 pm

Re: Fatal error on Twig

by MarkusWME » Mon Sep 17, 2018 10:46 am


I don't have any idea why this happens. I can't reproduce this error on my test forum. You could maybe try cleaning the cache...
User avatar
Registered User
Posts: 49
Joined: Thu Mar 17, 2016 1:04 am