SmartyCompilerException: Syntax Error in template "/home/r/rizhovs/public_html/wa-data/public/site/themes/insales_premium/util/util.html" on line 205 "{$_stock_price = shop_currency($active_sku["price"], ["unit" => $_stock_unit["name_short"], "in_currency" => $_currency, "format" => "price_wrapper"])}" unknown function "shop_currency" in /home/r/rizhovs/public_html/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php:668 Stack trace: #0 /home/r/rizhovs/public_html/wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(2911): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown functio...') #1 /home/r/rizhovs/public_html/wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(3112): Smarty_Internal_Templateparser->yy_r153() #2 /home/r/rizhovs/public_html/wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(3212): Smarty_Internal_Templateparser->yy_reduce(153) #3 /home/r/rizhovs/public_html/wa-system/vendors/smarty3/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(17, '}') #4 /home/r/rizhovs/public_html/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(207): Smarty_Internal_SmartyTemplateCompiler->doCompile('{strip}\r\n\r\n ...') #5 /home/r/rizhovs/public_html/wa-system/vendors/smarty3/sysplugins/smarty_internal_template.php(188): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template)) #6 /home/r/rizhovs/public_html/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(161): Smarty_Internal_Template->compileTemplateSource() #7 /home/r/rizhovs/public_html/wa-system/vendors/smarty3/sysplugins/smarty_internal_template.php(287): Smarty_Internal_TemplateBase->fetch(Object(Smarty_Internal_Template), NULL, NULL, NULL, false, false, true) #8 /home/r/rizhovs/public_html/wa-cache/74bd42/apps/site/templates/compiled/site_ru_RU/dd/73/34/dd7334b5526b0549106dd8c3bcc5d0fc198a8b48.file.page.html.php(29): Smarty_Internal_Template->getSubTemplate('./util/util.htm...', NULL, 'site_ru_RU', NULL, NULL, Array, 0) #9 /home/r/rizhovs/public_html/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_6474c76fa49f18_79291008(Object(Smarty_Internal_Template)) #10 /home/r/rizhovs/public_html/wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('file:page.html', NULL) #11 /home/r/rizhovs/public_html/wa-system/controller/waViewAction.class.php(190): waSmarty3View->fetch('file:page.html', NULL) #12 /home/r/rizhovs/public_html/wa-system/page/actions/waPage.action.php(132): waViewAction->display(false) #13 /home/r/rizhovs/public_html/wa-apps/site/lib/actions/frontend/siteFrontend.action.php(92): waPageAction->display(false) #14 /home/r/rizhovs/public_html/wa-system/controller/waViewController.class.php(86): siteFrontendAction->display() #15 /home/r/rizhovs/public_html/wa-apps/site/lib/actions/frontend/siteFrontend.controller.php(12): waViewController->executeAction(Object(siteFrontendAction)) #16 /home/r/rizhovs/public_html/wa-system/controller/waController.class.php(21): siteFrontendController->execute() #17 /home/r/rizhovs/public_html/wa-system/controller/waViewController.class.php(46): waController->run(NULL) #18 /home/r/rizhovs/public_html/wa-system/controller/waFrontController.class.php(263): waViewController->run(NULL) #19 /home/r/rizhovs/public_html/wa-system/controller/waFrontController.class.php(190): waFrontController->runController(Object(siteFrontendController), NULL) #20 /home/r/rizhovs/public_html/wa-system/controller/waFrontController.class.php(84): waFrontController->execute(NULL, 'frontend', '') #21 /home/r/rizhovs/public_html/wa-system/controller/waDispatch.class.php(369): waFrontController->dispatch() #22 /home/r/rizhovs/public_html/wa-system/controller/waDispatch.class.php(34): waDispatch->dispatchFrontend('site/stati/boto...') #23 /home/r/rizhovs/public_html/wa-system/waSystem.class.php(614): waDispatch->dispatch() #24 /home/r/rizhovs/public_html/index.php(12): waSystem->dispatch() #25 {main}

Syntax Error in template "/home/r/rizhovs/public_html/wa-data/public/site/themes/insales_premium/util/util.html" on line 205 "{$_stock_price = shop_currency($active_sku["price"], ["unit" => $_stock_unit["name_short"], "in_currency" => $_currency, "format" => "price_wrapper"])}" unknown function "shop_currency" code 0

## wa-system/controller/waDispatch.class.php(50)
#0 wa-system/waSystem.class.php(614): waDispatch->dispatch()
#1 index.php(12): waSystem->dispatch()
#2 {main}

Next SmartyCompilerException with message 'Syntax Error in template "/home/r/rizhovs/public_html/wa-data/public/site/themes/insales_premium/util/util.html"  on line 205 "{$_stock_price = shop_currency($active_sku["price"], ["unit" => $_stock_unit["name_short"], "in_currency" => $_currency, "format" => "price_wrapper"])}" unknown function "shop_currency"':
## wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(668)
#0 wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(2911): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown functio...')
#1 wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(3112): Smarty_Internal_Templateparser->yy_r153()
#2 wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(3212): Smarty_Internal_Templateparser->yy_reduce(153)
#3 wa-system/vendors/smarty3/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(17, '}')
#4 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(207): Smarty_Internal_SmartyTemplateCompiler->doCompile('{strip}/r/n/r/n    ...')
#5 wa-system/vendors/smarty3/sysplugins/smarty_internal_template.php(188): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#6 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(161): Smarty_Internal_Template->compileTemplateSource()
#7 wa-system/vendors/smarty3/sysplugins/smarty_internal_template.php(287): Smarty_Internal_TemplateBase->fetch(Object(Smarty_Internal_Template), NULL, NULL, NULL, false, false, true)
#8 wa-cache/74bd42/apps/site/templates/compiled/site_ru_RU/3b/ec/6d/3bec6d572419456e6f3862513cb6db1a780b6f3c.file.index.html.php(96): Smarty_Internal_Template->getSubTemplate('./util/util.htm...', NULL, 'site_ru_RU', NULL, NULL, Array, 0)
#9 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_6474bde5e0e536_73027627(Object(Smarty_Internal_Template))
#10 wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('file:index.html', NULL)
#11 wa-system/layout/waLayout.class.php(162): waSmarty3View->fetch('file:index.html')
#12 wa-system/controller/waViewController.class.php(104): waLayout->display()
#13 wa-system/controller/waViewController.class.php(47): waViewController->display()
#14 wa-system/controller/waFrontController.class.php(263): waViewController->run(NULL)
#15 wa-system/controller/waFrontController.class.php(190): waFrontController->runController(Object(siteFrontendController), NULL)
#16 wa-system/controller/waFrontController.class.php(84): waFrontController->execute(NULL, 'frontend', '')
#17 wa-system/controller/waDispatch.class.php(369): waFrontController->dispatch()
#18 wa-system/controller/waDispatch.class.php(34): waDispatch->dispatchFrontend('site/stati/boto...')
#19 wa-system/waSystem.class.php(614): waDispatch->dispatch()
#20 index.php(12): waSystem->dispatch()
#21 {main}

GET

[]

Params

[
  'app' => 'site',
  '_name' => 'BestBrends',
  'theme' => 'insales_premium',
  'theme_mobile' => 'insales_premium',
  'locale' => 'ru_RU',
  'url' => 'stati/botoks/',
  'module' => 'frontend',
  'action' => '',
]