"foreach() argument must be of type array|object, null given" // app/Http/Controllers/Web/FrontController.php:213