Fatal error: Call to a member function has() on null
500 Internal Server Error - FatalThrowableError
Stack Trace
-
in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 289
*/
public function getDoctrine()
{
if (!$this->container->has('doctrine')) {
throw new \LogicException('The DoctrineBundle is not registered in your application.');
}
-
at
Controller
->getDoctrine
()
in src/Interlinks/Bundle/AppBundle/Controller/MiddleEastPortalController.php at line 279 -
at
MiddleEastPortalController
->getMiddelEastArticleDetailAction
('middle-east-portal', 'news', '86', '12362', 'whiteswell-raises-30m-for-heart-failure-treatment')
in src/Interlinks/Bundle/AppBundle/Controller/SiteController.php at line 632 - at SiteController ->getArticleDetailAction ('news', '86', '12362', 'whiteswell-raises-30m-for-heart-failure-treatment')
-
at
call_user_func_array
(array(object(SiteController), 'getArticleDetailAction'), array('news', '86', '12362', 'whiteswell-raises-30m-for-heart-failure-treatment'))
in app/bootstrap.php.cache at line 3054 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3016 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3165 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2406 -
at
Kernel
->handle
(object(Request))
in index.php at line 31