Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to AppBundle\Twig\CompanyExtension::stickyMediaSidebar() must be an instance of Pimcore\Model\DataObject\GeneralCompany, null given, called in /var/www/html/app/var/cache/prod/twig/91/91058a140a4e8a29729104f702aaee41a3d0fda5df078da65c13dc9eb13e5800.php on line 46 in /var/www/html/app/src/AppBundle/Twig/CompanyExtension.php:29 Stack trace: #0 /var/www/html/app/var/cache/prod/twig/91/91058a140a4e8a29729104f702aaee41a3d0fda5df078da65c13dc9eb13e5800.php(46): AppBundle\Twig\CompanyExtension->stickyMediaSidebar(NULL) #1 /var/www/html/app/vendor/twig/twig/src/Template.php(407): __TwigTemplate_81f57e49ef31f4374e0e2cb59c8370d30fd71fd8b808cde6f1a02c3a794d6204->doDisplay(Array, Array) #2 /var/www/html/app/vendor/twig/twig/src/Template.php(380): Twig\Template->displayWithErrorHandling(Array, Array) #3 /var/www/html/app/vendor/twig/twig/src/Template.php(392): Twig\Template->display(Array) #4 /var/www/html/app/vendor/twig/twig/src/Extension/C in /var/www/html/app/src/AppBundle/Twig/CompanyExtension.php on line 29