致命错误未捕获的Twig \ Error \ LoaderError:模板

问题描述

我是Opencart的新手,并且已经安装了Opencart 3,并且正在尝试安装以下主题

https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=39241&filter_category_id=1&filter_license=0

我已经阅读了几篇文章,并观看了许多视频,并正确地遵循了步骤。按照步骤操作后,我收到一条消息“主题已成功安装”。但是,当我进入opencart 3仪表板中的“主题”部分并选择newcrocus主题时,它在主页上给我以下错误

致命错误:未捕获的Twig \ Error \ LoaderError:模板 在以下位置未定义“ newcrocus / template / new_elements / product.twig” 第51行中的“ newcrocus / template / extension / module / featured.twig”。 C:\ xampp \ htdocs \ azaan-leather \ system \ storage \ vendor \ twig \ twig \ src \ Loader \ ArrayLoader.PHP:70堆栈跟踪:#0 C:\ xampp \ htdocs \ azaan-leather \ system \ storage \ vendor \ twig \ twig \ src \ Environment.PHP(299): Twig \ Loader \ ArrayLoader-> getCacheKey('newcrocus / templ ...')#1 C:\ xampp \ htdocs \ azaan-leather \ system \ storage \ vendor \ twig \ twig \ src \ Environment.PHP(381): Twig \ Environment-> getTemplateClass('newcrocus / templ ...')#2 C:\ xampp \ htdocs \ azaan-leather \ system \ storage \ vendor \ twig \ twig \ src \ Template.PHP(333): Twig \ Environment-> loadTemplate('newcrocus / templ ...',NULL)#3 C:\ xampp \ htdocs \ azaan-leather \ system \ storage \ cache \ template \ 8e \ 8e5c9e03d41b9c67dbbfdfd20808223d84672524fec4b240d8d454a0e60d71ab.PHP(281): Twig \ Template-> loadTemplate('newcrocus / templ ...', 'newcrocus / templ ...',51)#4 C:\ xampp \ htdocs \ azaan-leather \ system \ storage \ vendor \ twig \ twig \ src \ Template.PHP(4 在 C:\ xampp \ htdocs \ azaan-leather \ system \ storage \ vendor \ twig \ twig \ src \ Loader \ ArrayLoader.PHP 在第70行。

请帮助我解决上述问题。我不知道问题出在模板文件中还是在供应商文件夹中。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)