sylius:在 sylius 0.16 上进行作曲家更新后,我在 "sylius_product" 下得到“无法识别的选项 "classes"”
sylius: after doing composer update on sylius 0.16 i get 'Unrecognized option "classes" under "sylius_product"
请帮忙
我在 sylius 0.16 上通过 composer 安装 LexikTranslationBundle。
composer.phar 更新后我得到了这个:
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized option "classes" under "sylius_product"
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
如何解决这个问题?
最佳答案在这里。根据此更改您的配置 sylius.yaml :
https://github.com/Sylius/Sylius/blob/cd46a90b9ebcbe96c5dc30711c0f4e9de11d6be5/src/Sylius/Bundle/CoreBundle/Resources/config/app/sylius.yml#L123
接下来,当您查看有关 sylius 的内容时,请始终注意 post 的日期。
请帮忙
我在 sylius 0.16 上通过 composer 安装 LexikTranslationBundle。 composer.phar 更新后我得到了这个:
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized option "classes" under "sylius_product"Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
[RuntimeException] An error occurred when executing the "'cache:clear --no-warmup'" command:
如何解决这个问题?
最佳答案在这里。根据此更改您的配置 sylius.yaml : https://github.com/Sylius/Sylius/blob/cd46a90b9ebcbe96c5dc30711c0f4e9de11d6be5/src/Sylius/Bundle/CoreBundle/Resources/config/app/sylius.yml#L123
接下来,当您查看有关 sylius 的内容时,请始终注意 post 的日期。