将sonata-admin从2.x更新为3.x后,我收到此错误
Fatal error: Uncaught Error: Class 'Sonata\FormatterBundle\DependencyInjection\Compiler\CKEditorCompilerPass' not found in /vagrant/src/vendor/sonata-project/formatter-bundle/SonataFormatterBundle.php on line 28
我的奏鸣曲作曲家
"sonata-project/easy-extends-bundle": "~2.1",
"sonata-project/seo-bundle": "2.0.0",
"sonata-project/doctrine-extensions": "~1",
"sonata-project/intl-bundle": "^2.2",
"sonata-project/admin-bundle": "3.0.0",
"sonata-project/doctrine-orm-admin-bundle": "3.0.0",
"sonata-project/notification-bundle": "^3.0",
"sonata-project/block-bundle": "3.0.0",
"sonata-project/media-bundle": "3.0.0",
"sonata-project/user-bundle": "3.0.0",
"sonata-project/cache-bundle": "~2.1",
"sonata-project/page-bundle": "3.0.0",
"sonata-project/formatter-bundle": "3.0.0",
"sonata-project/news-bundle": "3.0.0",
"sonata-project/datagrid-bundle": "~2.2",
"sonata-project/exporter": "~1",
"sonata-project/core-bundle": "3.0.0",
"sonata-project/classification-bundle": "^3.0"
也许有想法为什么? 也。我正在使用php7.1
答案 0 :(得分:0)
3.0.1中删除了CKEditorCompilerPass
。
我建议您至少需要格式化程序包:
composer require sonata/formatter-bundle ^3.0.1