【发布时间】:2018-10-15 06:00:29
【问题描述】:
我已经在 Symfony 4 项目中安装了 Sonata Seo Bundle,并按照https://sonata-project.org/bundles/seo/2-x/doc/reference/usage.html 中的步骤进行操作。但是当我启动应用程序时,我遇到了这个致命错误:
The "sonata.seo.page" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.
【问题讨论】: