lvntayn / laravel-social-network

Laravel 5.4 - location-based social network
129 stars 88 forks source link

http://mysape/nearby - Error #3

Closed yuri25 closed 6 years ago

yuri25 commented 7 years ago

Sorry for the large amount of text.

(2/2) ErrorExceptionTrying to get property of non-object (View: C:\OpenServer\domains\mysape\resources\views\nearby\index.blade.php)

in a5cf3c1af3903aafa2237d17dc78886a3c06a3cc.php (line 18) at CompilerEngine->handleViewException(object(ErrorException), 0)in PhpEngine.php (line 44) at PhpEngine->evaluatePath('C:\OpenServer\domains\mysape\storage\framework\views/a5cf3c1af3903aafa2237d17dc78886a3c06a3cc.php',array('env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'user' => object(User), 'nearby' => false))in CompilerEngine.php (line 59) at CompilerEngine->get('C:\OpenServer\domains\mysape\resources\views/nearby/index.blade.php', array('env' => object(Factory), 'app' =>object(Application), 'errors' => object(ViewErrorBag), 'user' => object(User), 'nearby' => false))in View.php (line 137) at View->getContents()in View.php (line 120) at View->renderContents()in View.php (line 85) at View->render()in Response.php (line 38) at Response->setContent(object(View))in Response.php (line 201) at Response->__construct(object(View))in Router.php (line 617) at Router->prepareResponse(object(Request), object(View))in Router.php (line 574) at Router->Illuminate\Routing{closure}(object(Request))in Pipeline.php (line 30) at Pipeline->Illuminate\Routing{closure}(object(Request))in SubstituteBindings.php (line 41) at SubstituteBindings->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in Authenticate.php (line 43) at Authenticate->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in VerifyCsrfToken.php (line 65) at VerifyCsrfToken->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in ShareErrorsFromSession.php (line 49) at ShareErrorsFromSession->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in StartSession.php (line 64) at StartSession->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in AddQueuedCookiesToResponse.php (line 37) at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in EncryptCookies.php (line 59) at EncryptCookies->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in Pipeline.php (line 102) at Pipeline->then(object(Closure))in Router.php (line 576) at Router->runRouteWithinStack(object(Route), object(Request))in Router.php (line 535) at Router->dispatchToRoute(object(Request))in Router.php (line 513) at Router->dispatch(object(Request))in Kernel.php (line 174) at Kernel->Illuminate\Foundation\Http{closure}(object(Request))in Pipeline.php (line 30) at Pipeline->Illuminate\Routing{closure}(object(Request))in Debugbar.php (line 51) at Debugbar->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in TransformsRequest.php (line 30) at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in TransformsRequest.php (line 30) at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in ValidatePostSize.php (line 27) at ValidatePostSize->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in CheckForMaintenanceMode.php (line 46) at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request))in Pipeline.php (line 102) at Pipeline->then(object(Closure))in Kernel.php (line 149) at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php (line 116) at Kernel->handle(object(Request))in index.php (line 53)

yuri25 commented 7 years ago

image

tuayo77 commented 7 years ago

hello have you try
php artisan config:cache and php artisan cache:clear and php artisan storage:link

elyes41 commented 6 years ago

it is not working i don't find any solution please can some one help me

Tiziano-92 commented 6 years ago

Hi @yuri25 , I have the same problem. Have you managed to solve it?