SmartyException 0():Prestashop 缺少“$template"参数 [英] SmartyException 0():Missing '$template' parameter with Prestashop

查看:41
本文介绍了SmartyException 0():Prestashop 缺少“$template"参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的在线商店使用 PrestaShophttps://www.fyndpris.co.uk/桌面版本运行良好,但我在主页上没有 AMP 问题,但是当我尝试访问某些产品时,如此链接:https://www.fyndpris.co.uk/mobile/product/8282714-fyndpris-children-s-loft-bed-frame-with-slide-ladder-pinewood-97x208-cm

I am using PrestaShop for my online store https://www.fyndpris.co.uk/ The desktop version is working perfectly but i have a problem with AMP NOT in the homepage but when i am trying to access some products like this link : https://www.fyndpris.co.uk/mobile/product/8282714-fyndpris-children-s-loft-bed-frame-with-slide-ladder-pinewood-97x208-cm

 (1/1) SmartyException
0():Missing '$template' parameter

in smarty_internal_templatebase.php line 177
at Smarty_Internal_TemplateBase->_execute(null, null, 'layouts/layout-full-width.tpl', null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev->fetch(null, null, 'layouts/layout-full-width.tpl')
in FrontController.php line 683
at FrontControllerCore->smartyOutputContent(null)
in FrontController.php line 667
at FrontControllerCore->display()
in Controller.php line 312
at ControllerCore->run()
in Dispatcher.php line 515
at DispatcherCore->dispatch()
in index.php line 28

请注意,我已经查看了关于同一错误的这两个问题:1- 问题1

Note that i have reviewed these two question about the same Error : 1- question1

但是我找不到解决我的问题的方法

but i can'y find out a solution for my problem

[4]:'SmartyException' 带有消息'缺少模板名称' 在 Smarty 中.我将暂时禁用 Amp 以避免在我找到解决方案之前让用户面临错误知道我在 PrestaShop 社区发布了很多问题,但不幸的是没有答案我希望我正确描述了我的问题

[4]: 'SmartyException' with message 'Missing template name' in Smarty . I will disable the Amp for now to avoid make the user face the Error before i find the solution Knowing that i have posted many question at PrestaShop community but unfortunately there was no answer I hope i described my problem correctly

推荐答案

刷新 Presta 性能设置中的 smarty 缓存

Refresh the smarty cache in Presta performance settings

这篇关于SmartyException 0():Prestashop 缺少“$template"参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆