Error in exception handler: Trying to get property of non-object in /home/akmiecik/public_html/newgd/app/composers/headerComposer.php:33