Message: Trying to get property of non-object (View: /var/www/html/bhweb/app/views/Hotel/HotelSearchForms.blade.php) (View: /var/www/html/bhweb/app/views/Hotel/HotelSearchForms.blade.php) File: /var/www/html/bhweb/app/models/Hotel.php - 1182 Trace: #0 /var/www/html/bhweb/bootstrap/compiled.php(8020): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(ErrorException), 1) #1 /var/www/html/bhweb/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/b...', Array) #2 /var/www/html/bhweb/bootstrap/compiled.php(7896): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/b...', Array) #3 /var/www/html/bhweb/bootstrap/compiled.php(7883): Illuminate\View\View->getContents() #4 /var/www/html/bhweb/bootstrap/compiled.php(7870): Illuminate\View\View->renderContents() #5 /var/www/html/bhweb/bootstrap/compiled.php(8066): Illuminate\View\View->render() #6 /var/www/html/bhweb/vendor/symfony/http-foundation/Response.php(202): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #7 /var/www/html/bhweb/bootstrap/compiled.php(3230): Symfony\Component\HttpFoundation\Response->__construct(Object(Illuminate\View\View)) #8 /var/www/html/bhweb/bootstrap/compiled.php(3039): Illuminate\Routing\Router->prepareResponse(Object(Illuminate\Http\Request), Object(Illuminate\View\View)) #9 /var/www/html/bhweb/bootstrap/compiled.php(3025): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #10 /var/www/html/bhweb/bootstrap/compiled.php(702): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #11 /var/www/html/bhweb/bootstrap/compiled.php(678): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #12 /var/www/html/bhweb/bootstrap/compiled.php(5797): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #13 /var/www/html/bhweb/bootstrap/compiled.php(6404): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #14 /var/www/html/bhweb/bootstrap/compiled.php(6351): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #15 /var/www/html/bhweb/bootstrap/compiled.php(8430): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #16 /var/www/html/bhweb/bootstrap/compiled.php(639): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #17 /var/www/html/bhweb/public/index.php(117): Illuminate\Foundation\Application->run() #18 {main}