Php 从SonataAdmin获取条令时出错
我在为SonataAdmin创建configureFormFields时遇到问题。 我将尝试在我的包中使用从实体和从基本控制器扩展而来的getDoctrine。 但是,symfony返回错误: 致命错误:对成员函数的调用对中的非对象无效 /var/www/htdocs/vendor/symfony/symfony/src/symfony/Bundle/FrameworkBundle/Controller/Controller.php 在线191Php 从SonataAdmin获取条令时出错,php,symfony,doctrine-orm,sonata-admin,Php,Symfony,Doctrine Orm,Sonata Admin,我在为SonataAdmin创建configureFormFields时遇到问题。 我将尝试在我的包中使用从实体和从基本控制器扩展而来的getDoctrine。 但是,symfony返回错误: 致命错误:对成员函数的调用对中的非对象无效 /var/www/htdocs/vendor/symfony/symfony/src/symfony/Bundle/FrameworkBundle/Controller/Controller.php 在线191 如何解决此问题。在提交问题之前,可能会重复[thi
如何解决此问题。在提交问题之前,可能会重复[this][1]搜索答案。[1]: