PHP5.3应用中,登陆后台管理时提示错误:
Deprecated: getEntityManager is deprecated since Symfony 2.1. Use getManager instead in vendordoctrinedoctrine-bundleDoctrineBundleDoctrineBundleRegistry.php on line 71
此问题可以通过php.ini的报错级别来处理,把 error_reporting = ALL 改为 error_reporting = E_ERROR 即可!