( ! ) Deprecated: getEntityManager is deprecated since Symfony 2.1. Use getManager instead in /var/www/kama/vendor/doctrine/doctrine-bundle/Registry.php on line 71
Call Stack
#TimeMemoryFunctionLocation
10.0001360432{main}( ).../app.php:0
20.0054509712AppCache->handle( ).../app.php:18
30.0061514880AppCache->lookup( ).../HttpCache.php:210
40.0063515704AppCache->fetch( ).../HttpCache.php:344
50.0063516880AppCache->forward( ).../HttpCache.php:448
60.14936027384AppCache->forward( ).../HttpCache.php:60
70.14936031216AppKernel->handle( ).../HttpCache.php:491
80.15026041152Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( ).../Kernel.php:185
90.15026041904Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( ).../ContainerAwareHttpKernel.php:69
100.15026042640Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handleRaw( ).../HttpKernel.php:64
110.23527241344call_user_func_array:{/var/www/kama/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:144} ( ).../HttpKernel.php:144
120.23527241752KamaBundle\Controller\LocationController->startAction( ).../HttpKernel.php:144
130.24997369104Doctrine\Bundle\DoctrineBundle\Registry->getEntityManager( ).../LocationController.php:449
140.24997369104trigger_error ( ).../Registry.php:71
Sonata Project - Internal Error
An exception has been thrown during the rendering of a template ("Failed to start the session because headers have already been sent by "/var/www/kama/vendor/doctrine/doctrine-bundle/Registry.php" at line 71.").