Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Symfony 为什么我的插件在shopware 6.4升级后不起作用?_Symfony_Shopware - Fatal编程技术网

Symfony 为什么我的插件在shopware 6.4升级后不起作用?

Symfony 为什么我的插件在shopware 6.4升级后不起作用?,symfony,shopware,Symfony,Shopware,升级shopware6.4后使用Plugin功能时,我出现此错误。 在更新之前,我的插件工作得非常好 无法加载模板“storefront/section/cms section half width.html.twig”。(涉及:框架、分析、管理、Elasticsearch、FroshPlatformAdminer、UltraDeveloper、DneTemplateManager、DNecustomcsjs、店面) 哪一个是旧的Shopware版本?这意味着模板已被引用,但不再存在。无论

升级shopware6.4后使用Plugin功能时,我出现此错误。 在更新之前,我的插件工作得非常好

无法加载模板“storefront/section/cms section half width.html.twig”。(涉及:框架、分析、管理、Elasticsearch、FroshPlatformAdminer、UltraDeveloper、DneTemplateManager、DNecustomcsjs、店面)


哪一个是旧的Shopware版本?这意味着模板已被引用,但不再存在。无论如何,我在6.3.5中也找不到这个模板(cms section half width.html.twig)。你之前是自己创建的吗?您好,我们的团队创建了这个插件,它使用的是6.3,现在我们升级到了6.4。从那以后它就不工作了。你以前使用过哪一个版本的6.3?我建议查看更改日志。那么这个文件存在于你的插件中吗?完整的路径是什么?错误跟踪中提到的detail.htm.twig的前几行是什么?如果没有seing代码和插件,这里没有人能帮你。在6.4中有很多突破性的变化,因为这是一个重大的更新。正如您在错误消息中看到的,无法找到细枝文件。所以我会仔细检查一下过去等等。Hello@Alex,它是Shopware6.3.5.4,现在更新为6.4,文件(cms section half width.html.twig)在view>storefront>section的插件中。在缓存清除其所有站点后,此错误一直持续到未清除缓存为止。我还添加了该错误的提示----HTTP 500内部服务器错误EMakersShoppingExperienceBlocks\Subscriber\ShoppingExperienceSubscriber::\uu构造():参数2($salesChannelContextFactory)的类型必须为Shopware\Core\System\SalesChannel\Context\salesChannelContextFactory,