Post by belowcost » Thu May 27, 2021 12:10 am

opencart 3.0.3.3

enter a word to search for, press enter or click search, and the below error appears???

havent updated or changed anything on the search for months

Code: Select all

Fatal error: Uncaught exception 'Twig_Error_Syntax' with message 'Unexpected token "name" of value "search" ("end of print statement" expected) in "__string_template__bc3605a8a0dd10df58c7d1e8e49437846de334127c86b62e65d406b67239423e" at line 21.' in /home1/belowcst/bbahi/system/library/template/Twig/TokenStream.php:87 Stack trace: #0 /home1/belowcst/bbahi/system/library/template/Twig/Parser.php(145): Twig_TokenStream->expect(4) #1 /home1/belowcst/bbahi/system/library/template/Twig/Parser.php(100): Twig_Parser->subparse(NULL, false) #2 /home1/belowcst/bbahi/system/library/template/Twig/Environment.php(619): Twig_Parser->parse(Object(Twig_TokenStream)) #3 /home1/belowcst/bbahi/system/library/template/Twig/Environment.php(671): Twig_Environment->parse(Object(Twig_TokenStream)) #4 /home1/belowcst/bbahi/system/library/template/Twig/Environment.php(396): Twig_Environment->compileSource('{{ header }}\n<d...', '__string_templa...') #5 /home1/belowcst/bbahi/system/library/template/Twig/Environment.php(437): Twig_Environment->loadTe in /home1/belowcst/bbahi/system/library/template/Twig/TokenStream.php on line 87

Active Member

Posts

Joined
Mon Sep 26, 2011 1:54 am

Post by straightlight » Thu May 27, 2021 12:13 am

belowcost wrote:
Thu May 27, 2021 12:10 am
opencart 3.0.3.3

enter a word to search for, press enter or click search, and the below error appears???

havent updated or changed anything on the search for months
Fatal error: Uncaught exception 'Twig_Error_Syntax' with message 'Unexpected token "name" of value "search" ("end of print statement" expected) in "__string_template__bc3605a8a0dd10df58c7d1e8e49437846de334127c86b62e65d406b67239423e" at line 21.' in /home1/belowcst/bbahi/system/library/template/Twig/TokenStream.php:87 Stack trace: #0 /home1/belowcst/bbahi/system/library/template/Twig/Parser.php(145): Twig_TokenStream->expect(4) #1 /home1/belowcst/bbahi/system/library/template/Twig/Parser.php(100): Twig_Parser->subparse(NULL, false) #2 /home1/belowcst/bbahi/system/library/template/Twig/Environment.php(619): Twig_Parser->parse(Object(Twig_TokenStream)) #3 /home1/belowcst/bbahi/system/library/template/Twig/Environment.php(671): Twig_Environment->parse(Object(Twig_TokenStream)) #4 /home1/belowcst/bbahi/system/library/template/Twig/Environment.php(396): Twig_Environment->compileSource('{{ header }}\n<d...', '__string_templa...') #5 /home1/belowcst/bbahi/system/library/template/Twig/Environment.php(437): Twig_Environment->loadTe in /home1/belowcst/bbahi/system/library/template/Twig/TokenStream.php on line 87
An {% endif %} is either missing or not being used within the condition it should be into from one of your TWIG file. Caused by a custom theme code or an extension you have installed which may reflect on one of your themes. Contact the extension theme developer to resolve this issue.

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 72 guests