Deprecated: getEntityManager is deprecated since Symfony 2.1
PHP5.3应用中,登陆后台管理时提示错误:
Deprecated: getEntityManager is deprecated since Symfony 2.1. Use getManager instead in vendor\doctrine\doctrine-bundle\Doctrine\Bundle\DoctrineBundle\Registry.php on line 71
此问题可以通过php.ini的报错级别来处理,把 error_reporting = ALL 改为 error_reporting = E_ERROR 即可!
huidaoli版权所有:转载请注明出处,谢谢合作!