Fatal error: Uncaught exception 'ErrorException' with message 'Trying to get property of non-object' in /var/www/clients/client1/web14/web/app/Http/Controllers/ListPropertiesController.php:403 Stack trace: #0 /var/www/clients/client1/web14/web/app/Http/Controllers/ListPropertiesController.php(403): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Trying to get p...', '/var/www/client...', 403, Array) #1 [internal function]: App\Http\Controllers\ListPropertiesController->nieruchomosc('66101') #2 /var/www/clients/client1/web14/web/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(55): call_user_func_array(Array, Array) #3 /var/www/clients/client1/web14/web/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(44): Illuminate\Routing\Controller->callAction('nieruchomosc', Array) #4 /var/www/clients/client1/web14/web/vendor/laravel/framework/src/Illuminate/Routing/Route.php(204): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(App\Http in /var/www/clients/client1/web14/web/app/Http/Controllers/ListPropertiesController.php on line 403

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Uncaught exception 'ErrorException' with message 'Trying to get property of non-object' in /var/www/clients/client1/web14/web/app/Http/Controllers/ListPropertiesController.php:403 Stack trace: #0 /var/www/clients/client1/web14/web/app/Http/Controllers/ListPropertiesController.php(403): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Trying to get p...', '/var/www/client...', 403, Array) #1 [internal function]: App\Http\Controllers\ListPropertiesController->nieruchomosc('66101') #2 /var/www/clients/client1/web14/web/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(55): call_user_func_array(Array, Array) #3 /var/www/clients/client1/web14/web/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(44): Illuminate\Routing\Controller->callAction('nieruchomosc', Array) #4 /var/www/clients/client1/web14/web/vendor/laravel/framework/src/Illuminate/Routing/Route.php(204): Illuminate in /var/www/clients/client1/web14/web/app/Http/Controllers/ListPropertiesController.php on line 403