Post by oberheimer » Wed Jan 16, 2019 7:46 pm

Stack trace:
#0 /cache/75/75447036e88c359365a0fb59acd61bd747c4fa30284125065c93447a675f15ae.php(123): twig_escape_filter(Object(Twig_Environment), 'F\xC3\xB6r gravning o...', 'js')
#1 /system/library/template/Twig/Template.php(387): __TwigTemplate_bf32ee5483e577ca78078ed2af9afa7d859de1bc6e17a3685786405c2aa2d7a8->doDisplay(Array, Array)
#2 /system/library/template/Twig/Template.php(355): Twig_Template->displayWithErrorHandling(Array, Array)
#3 /system/library/template/Twig/Template.php(366): Twig_Template->display(Array)
#4 /modification/system/ in /system/library/template/Twig/Extension/Core.php on line 1062
[16-Jan-2019 11:22:37 UTC] PHP Fatal error: Uncaught exception 'Twig_Error_Runtime' with message 'The string to escape is not a valid UTF-8 string in "default/template/extension/module/yotpo/yotpo.twig" at line 61.' in /system/library/template/Twig/Extension/Core.php:1062

New member

Posts

Joined
Fri Jun 22, 2012 5:28 am

Post by straightlight » Thu Jan 17, 2019 6:55 am

'The string to escape is not a valid UTF-8 string in "default/template/extension/module/yotpo/yotpo.twig" at line 61.
What is on line 61 on your yotpo.twig file?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by oberheimer » Thu Jan 17, 2019 4:56 pm

"data-description":'{{product.description|e('js') }}',

Here is line 61
I'm not that good with code so...

New member

Posts

Joined
Fri Jun 22, 2012 5:28 am

Post by straightlight » Thu Jan 17, 2019 6:59 pm

Perhaps it should be:

Code: Select all

"data-description":"{{ product.description|e('js') }}",
Ensure to clear the OC cache afterwards.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 116 guests