Prestashop 1.7.6.9 - ProductListingPresenter::present() 中的致命错误
Prestashop 1.7.6.9 - Fatal Error in ProductListingPresenter::present()
我有一个用 Prestashop 1.7.6.9 制作的电子商务,return 经常出现 500 错误。
所以我尝试启用调试,现在 Prestashop 显示此错误:
(1/1) FatalThrowableError
Type error: Argument 2 passed to
PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter::present()
must be of the type array, boolean given, called in
/home/path/mywebsite.com/classes/controller/ProductListingFrontController.php on line 62
这个错误似乎只在我打开一个类别时发生,在调试模式下显示类似于这样的消息:
[Debug] This page has moved
Please use the following URL instead: https://mywebsite.com/it/17-category
当我尝试打开未选择语言的版本时:https://mywebsite.com/17-category
你有解决这个问题的想法吗?
(1/1) FatalThrowableError
Type error: Argument 2 passed to
PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter::present()
must be of the type array, boolean given, called in
/home/path/mywebsite.com/classes/controller/ProductListingFrontController.php on line 62
您的问题似乎与此类似https://github.com/PrestaShop/PrestaShop/issues/16245
关于这个错误
[Debug] This page has moved
Please use the following URL instead: https://mywebsite.com/it/17-category
在您的 BO > 商店参数 > SEO 和 URL 页面中,您可以通过选择此选项来禁用重定向
谢谢!
问候,Khouloud
我有一个用 Prestashop 1.7.6.9 制作的电子商务,return 经常出现 500 错误。
所以我尝试启用调试,现在 Prestashop 显示此错误:
(1/1) FatalThrowableError
Type error: Argument 2 passed to
PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter::present()
must be of the type array, boolean given, called in
/home/path/mywebsite.com/classes/controller/ProductListingFrontController.php on line 62
这个错误似乎只在我打开一个类别时发生,在调试模式下显示类似于这样的消息:
[Debug] This page has moved
Please use the following URL instead: https://mywebsite.com/it/17-category
当我尝试打开未选择语言的版本时:https://mywebsite.com/17-category
你有解决这个问题的想法吗?
(1/1) FatalThrowableError Type error: Argument 2 passed to PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter::present() must be of the type array, boolean given, called in /home/path/mywebsite.com/classes/controller/ProductListingFrontController.php on line 62
您的问题似乎与此类似https://github.com/PrestaShop/PrestaShop/issues/16245
关于这个错误
[Debug] This page has moved Please use the following URL instead: https://mywebsite.com/it/17-category
在您的 BO > 商店参数 > SEO 和 URL 页面中,您可以通过选择此选项来禁用重定向
谢谢!
问候,Khouloud