Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to AppBundle\Prismic\BlogPost::create() must be an instance of stdClass, null given, called in /home/forge/europeanfilmchallenge.eu/src/AppBundle/Prismic/BlogPostRepository.php on line 76 in /home/forge/europeanfilmchallenge.eu/src/AppBundle/Prismic/BlogPost.php:159
Stack trace:
#0 /home/forge/europeanfilmchallenge.eu/src/AppBundle/Prismic/BlogPostRepository.php(76): AppBundle\Prismic\BlogPost::create(NULL)
#1 /home/forge/europeanfilmchallenge.eu/src/AppBundle/Controller/Prismic/BlogPostController.php(61): AppBundle\Prismic\BlogPostRepository->findOneByUid('fernando-')
#2 /home/forge/europeanfilmchallenge.eu/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(151): AppBundle\Controller\Prismic\BlogPostController->show('fernando-')
#3 /home/forge/europeanfilmchallenge.eu/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Obj in /home/forge/europeanfilmchallenge.eu/src/AppBundle/Prismic/BlogPost.php on line 159