我正在尝试将此捆绑包添加到我的项目中:https://docs.coreshop.org/2.1.0/Bundles/Store_Bundle.html
我能够添加捆绑包并在内核中将其激活,但是当我尝试“ php bin /控制台原则:schema:update --force”部分时,出现错误:
There are no commands defined in the "doctrine:schema" namespace.
Did you mean one of these?
doctrine
doctrine:cache
doctrine:database
doctrine:generate
doctrine:query
我已经尝试安装各种我认为会包括在内的学说捆绑包,但似乎没有什么不同。我正在使用Symfony 4.3。
Pimcore当前未附带必需的软件包。因此,您将必须手动要求它们:
composer require symfony/maker-bundle symfony/orm-pack
您还必须在config.yml
中添加以下内容:
doctrine:
orm:
default_entity_manager: default