0

在 Prestashop 版本中安装愿望清单模块时出现问题。1.7.7.8 模块来自https://github.com/PrestaShop/blockwishlist

下载 zip 文件并解压缩并将文件名更改为不带“-dev” 再次压缩并通过 Prestashop 上传

这是显示的错误

Attempted to load class "Install" from namespace "PrestaShop\Module\BlockWishList\Database".
 Did you forget a "use" statement for e.g. "PrestaShopBundle\Install\Install", 
"PrestaShop\AccountsAuth\Installer\Install", "PrestaShop\Module\PsAccounts\Module\Install" 
or "PrestaShop\Module\PsEventbus\Module\Install"?

[Symfony\Component\Debug\Exception\ClassNotFoundException 0]

https://user-images.githubusercontent.com/68841876/134200903-e60251f5-cf01-4aa6-81db-ecaca7bae013.png

在我将安装类和卸载类移动到blockwishlist.php下后,可以进行安装,但出现另一个问题。当我尝试进入模块配置页面时,弹出错误...

The controller for URI "/modules/blockwishlist/configuration" is not callable. 
Class "PrestaShop\Module\BlockWishList\Controller\WishlistConfigurationAdminController" does not exist.

[InvalidArgumentException 0]

https://user-images.githubusercontent.com/68841876/134382956-6215b899-2dbb-4a82-b31f-d09cb6767270.png

我试图清除 var/cache 但仍然..

有人可以帮忙吗?提前谢谢!

4

0 回答 0