Fatal error: Uncaught Error: Call to undefined method shopSeofilterViewHelper::wrapFeatureValues

При попытке поменять шаблон, в карточке товара выдаёт ошибку.

SEO фильтр отключил. Кеш чистил и в админке, и удалял содержимое wa-cache на хостинге.

Подскажите как это исправить?

В карточке товара

Fatal error: Uncaught Error: Call to undefined method shopSeofilterViewHelper::wrapFeatureValues() in site.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/7b/69/09/7b690931877dd4b97e4f7077bd8f5d0da1341cf9.file.product.features.html.php:43 Stack trace: #0 site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_5e32b9e368e286_03967786(Object(Smarty_Internal_Template)) #1 site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(Object(Smarty_Internal_Template), NULL, NULL, NULL, false, false, true) #2 site.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/ae/0f/dd/ae0fddc9e592f4f6b22c4aa3fc0277c4cc707235.file.product.tabs.html.php(78): Smarty_Internal_Template->getSubTemplate('/home/kirnoy/ch...', NULL, 'shop_ru_RU', NULL, NULL, Array, 0) #3 site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(186): content_5e32b9e360 in site.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/7b/69/09/7b690931877dd4b97e4f7077bd8f5d0da1341cf9.file.product.features.html.php on line 43

Лог

SmartyCompilerException: Syntax Error in template "755c484e8e7ecc99616f7a454c02592a79e01505"  on line 44 "<p>{productList ids="7168,7169,7170"}<br>" unknown tag "productList" in site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php:667
Stack trace:
#0 site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(453): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "pr...', 44)
#1 site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('productList', Array)
#2 site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36()
#3 site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36)
#4 site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '<br>\r\n</p>\r\n<h3...')
#5 site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(206): Smarty_Internal_SmartyTemplateCompiler->doCompile('<p>\xD0\x94\xD0\xBB\xD1\x8F   \xD1\x82\xD0...')
#6 site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#7 site.ru/wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(161): Smarty_Internal_Template->compileTemplateSource()
#8 site.ru/wa-system/view/waSmarty3View.class.php(144): Smarty_Internal_TemplateBase->fetch('string:<p>\xD0\x94\xD0\xBB\xD1...', NULL)
#9 site.ru/wa-apps/blog/lib/actions/frontend/blogFrontendRss.action.php(55): waSmarty3View->fetch('string:<p>\xD0\x94\xD0\xBB\xD1...', NULL)
#10 site.ru/wa-system/controller/waViewAction.class.php(161): blogFrontendRssAction->execute()
#11 site.ru/wa-apps/blog/lib/classes/blogViewAction.class.php(7): waViewAction->display(false)
#12 site.ru/wa-system/controller/waViewController.class.php(86): blogViewAction->display()
#13 site.ru/wa-system/controller/waDefaultViewController.class.php(48): waViewController->executeAction(Object(blogFrontendRssAction))
#14 site.ru/wa-system/controller/waController.class.php(21): waDefaultViewController->execute()
#15 site.ru/wa-system/controller/waViewController.class.php(46): waController->run(NULL)
#16 site.ru/wa-system/controller/waFrontController.class.php(263): waViewController->run(NULL)
#17 site.ru/wa-system/controller/waFrontController.class.php(190): waFrontController->runController(Object(waDefaultViewController), NULL)
#18 site.ru/wa-apps/blog/lib/classes/blogFrontController.class.php(76): waFrontController->execute(NULL, 'frontend', 'rss', false)
#19 site.ru/wa-system/controller/waFrontController.class.php(84): blogFrontController->execute(NULL, 'frontend', 'rss')
#20 site.ru/wa-system/waSystem.class.php(941): waFrontController->dispatch()
#21 site.ru/wa-system/waSystem.class.php(615): waSystem->dispatchFrontend('blog/rss/')
#22 site.ru/index.php(7): waSystem->dispatch()
#23 {main}


2 ответа

  • 1

    На счёт ошибки:

    Fatal error: Uncaught Error: Call to undefined method shopSeofilterViewHelper::wrapFeatureValues() in site.ru/wa-cache/apps/shop/templates/compiled/shop_ru_RU/7b/69/09/7b690931877dd4b97e4f7077bd8f5d0da1341cf9.file.product.features.html.php

    В шаблоне темы дизайна 

    product.features.html

     идёт вызов метода 

    shopSeofilterViewHelper::wrapFeatureValues()

    Вероятно, проблема в том, что был отключён или удалён плагин SEO-Фильтр.

    Если это так, то необходимо отредактировать шаблон, чтобы он обходился без этого вызова функции, либо же вернуть плагин SEO-фильтр.

    • +1
      Mihey Mihey 31 января 2020 07:11 #

      Так SEO-Фильтр был включен и выдавалась такая же ошибка, по этому я его отключил.

Добавить ответ

Чтобы добавить комментарий, зарегистрируйтесь или войдите