Error in exception handler: Trying to get property of non-object in /data/web/app/start/global.php:423