( ! ) 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.0001360464{main}( ).../app.php:0
20.0057509744AppCache->handle( ).../app.php:18
30.0064514928AppCache->lookup( ).../HttpCache.php:210
40.0067515752AppCache->fetch( ).../HttpCache.php:344
50.0067516928AppCache->forward( ).../HttpCache.php:448
60.16146027432AppCache->forward( ).../HttpCache.php:60
70.16156031264AppKernel->handle( ).../HttpCache.php:491
80.16246041200Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( ).../Kernel.php:185
90.16246041952Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( ).../ContainerAwareHttpKernel.php:69
100.16246042688Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handleRaw( ).../HttpKernel.php:64
110.25517241480call_user_func_array:{/var/www/kama/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:144} ( ).../HttpKernel.php:144
120.25517241888KamaBundle\Controller\LocationController->startAction( ).../HttpKernel.php:144
130.27187369248Doctrine\Bundle\DoctrineBundle\Registry->getEntityManager( ).../LocationController.php:449
140.27187369248trigger_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.").