无法访问 Font Office 中的产品页面 - Prestashop 1.7

发布于 2025-01-10 21:04:57 字数 988 浏览 4 评论 0原文

不知道发生了什么,但当我点击 prestashop FO 中的产品时,突然无法访问产品页面。

这是我遇到的错误,

Fatal error: Uncaught Exception: CartPresenter can only present instance of Cart in C:\xampp\htdocs\prestashop\src\Adapter\Presenter\Cart\CartPresenter.php:315 Stack trace: #0
C:\xampp\htdocs\prestashop\classes\controller\FrontController.php(501):PrestaShop\PrestaShop\Adapter\Presenter\Cart\CartPresenter->present(NULL) #1
C:\xampp\htdocs\prestashop\classes\controller\FrontController.php(567):FrontControllerCore->assignGeneralPurposeVariables() #2 C:\xampp\htdocs\prestashop\classes\controller\Controller.php(306):FontControllerCore->initContent() #3
C:\xampp\htdocs\prestashop\classes\Dispatcher.php(518): ControllerCore->run() #4
C:\xampp\htdocs\prestashop\index.php(28): DispatcherCore->dispatch() #5
{main} thrown in C:\xampp\htdocs\prestashop\src\Adapter\Presenter\Cart\CartPresenter.php on line 315

我尝试卸载并重新安装购物车模块,但没有任何变化。我在任何地方都找不到任何其他解决方案。

接下来我可以尝试什么?

Not sure what happened, but out of a sudden I am not able access the product page when I click on a product in my prestashop FO.

This is the error I'm getting

Fatal error: Uncaught Exception: CartPresenter can only present instance of Cart in C:\xampp\htdocs\prestashop\src\Adapter\Presenter\Cart\CartPresenter.php:315 Stack trace: #0
C:\xampp\htdocs\prestashop\classes\controller\FrontController.php(501):PrestaShop\PrestaShop\Adapter\Presenter\Cart\CartPresenter->present(NULL) #1
C:\xampp\htdocs\prestashop\classes\controller\FrontController.php(567):FrontControllerCore->assignGeneralPurposeVariables() #2 C:\xampp\htdocs\prestashop\classes\controller\Controller.php(306):FontControllerCore->initContent() #3
C:\xampp\htdocs\prestashop\classes\Dispatcher.php(518): ControllerCore->run() #4
C:\xampp\htdocs\prestashop\index.php(28): DispatcherCore->dispatch() #5
{main} thrown in C:\xampp\htdocs\prestashop\src\Adapter\Presenter\Cart\CartPresenter.php on line 315

I've tried uninstalling and reinstalling the shopping cart module, but nothing changes. I couldn't find any other solutions anywhere for this.

What can I try next?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文