简体   繁体   English

OpenCart 3 的 Materialise 模板出现“Uncaught Twig_Error_Loader”错误

[英]"Uncaught Twig_Error_Loader" Error with Materialize Template, OpenCart 3

I am getting below error in my webstore.我的网上商店出现以下错误。 What it might be or how can I solve this?它可能是什么或者我该如何解决这个问题?

Fatal error: Uncaught Twig_Error_Loader: Unable to find template "extension/module/quickorder.twig" (looked into: /home/zulbeaut/ocartdata/storage/modification/catalog/view/theme, /home/zulbeaut/public_html/catalog/view/theme).致命错误:未捕获 Twig_Error_Loader:无法找到模板“extension/module/quickorder.twig”(查看:/home/zulbeaut/ocartdata/storage/modification/catalog/view/theme,/home/zulbeaut/public_html/catalog/view /主题)。 in /home/zulbeaut/public_html/system/library/template/Twig/Loader/Filesystem.php:215 Stack trace: #0 /home/zulbeaut/public_html/system/library/template/Twig/Loader/Filesystem.php(139): Twig_Loader_Filesystem->findTemplate('extension/modul...') #1 /home/zulbeaut/public_html/system/library/template/Twig/Environment.php(312): Twig_Loader_Filesystem->getCacheKey('extension/modul...') #2 /home/zulbeaut/public_html/system/library/template/Twig/Environment.php(378): Twig_Environment->getTemplateClass('extension/modul...',bize gelecekmiş NULL) #3 /home/zulbeaut/ocartdata/storage/modification/system/library/template/twig.php(42): Twig_Environment->loadTemplate('extension/modul...') #4 /home/zulbeaut/public_html/system/library/template.php(51): Template\Twig->render('extension/modul...', '1') #5 /home/zulbeaut/ocartdata/st in /home/zulbeaut/public_html/system/library/template/Twig/Loader/Filesystem.php on line 215在 /home/zulbeaut/public_html/system/library/template/Twig/Loader/Filesystem.php:215 堆栈跟踪:#0 /home/zulbeaut/public_html/system/library/template/Twig/Loader/Filesystem.php(139 ): Twig_Loader_Filesystem->findTemplate('extension/modul...') #1 /home/zulbeaut/public_html/system/library/template/Twig/Environment.php(312): Twig_Loader_Filesystem->getCacheKey('extension/modul. ..') #2 /home/zulbeaut/public_html/system/library/template/Twig/Environment.php(378): Twig_Environment->getTemplateClass('extension/modul...',bize gelecekmiş NULL) #3 /home /zulbeaut/ocartdata/storage/modification/system/library/template/twig.php(42): Twig_Environment->loadTemplate('extension/modul...') #4 /home/zulbeaut/public_html/system/library/template .php(51): Template\Twig->render('extension/modul...', '1') #5 /home/zulbeaut/ocartdata/st in /home/zulbeaut/public_html/system/library/template/ Twig/Loader/Filesystem.php 第 215 行

First of all - clean Theme History in Design - Theme Editor for a Default theme.首先 - 设计中的干净主题历史- 默认主题的主题编辑器

Although you have to clear ocmod cache and twig cache.虽然你必须清除ocmod缓存和twig缓存。

To clear twig cache in your admin dashboard click on the gear button on top right corner, and then clear the Theme cache.要清除管理仪表板中的 twig 缓存,请单击右上角的齿轮按钮,然后清除主题缓存。 在此处输入图像描述

To clear ocmod cache in admin panel go to Extensions - Modifications and click reload button in top right corner.清除管理面板 go 中的ocmod缓存到扩展 - 修改,然后单击右上角的重新加载按钮。 在此处输入图像描述

Before installing the plugin, I took a backup after restoring it.在安装插件之前,我在恢复之后做了一个备份。 Renewing the modifications was enough for me.更新修改对我来说就足够了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM