Fatal error: Uncaught Error: Call to undefined method TOS\TOSBundle\Entity\Location::getType() in /media/data1/vhosts/tos/src/TOS/TOSBundle/Controller/PageController.php:538 Stack trace: #0 [internal function]: TOS\TOSBundle\Controller\PageController->pageAction('sr', 'vidi-srbiju', 'kultura', 'tvrdjave', 'zvecan') #1 /media/data1/vhosts/tos/app/bootstrap.php.cache(1428): call_user_func_array(Array, Array) #2 /media/data1/vhosts/tos/app/bootstrap.php.cache(1392): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #3 /media/data1/vhosts/tos/app/bootstrap.php.cache(1568): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #4 /media/data1/vhosts/tos/app/bootstrap.php.cache(619): Symfony\Bundle\FrameworkBundle\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #5 /media/data1/vhosts/tos/web/app.php(24): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Reques in /media/data1/vhosts/tos/src/TOS/TOSBundle/Controller/PageController.php on line 538