Error in exception handler: Trying to get property of non-object in /data/web/app/helpers/frontend/View.php:19