Sponsor-Board.de
Script Fehler Frage

+- Sponsor-Board.de (https://www.sponsor-board.de)
+-- Forum: Community (/forumdisplay.php?fid=56)
+--- Forum: Hilfe (/forumdisplay.php?fid=102)
+---- Forum: Scripting (/forumdisplay.php?fid=108)
+---- Thema: Script Fehler Frage (/showthread.php?tid=55420)


Script Fehler Frage - HardwareNow - 28.05.2015 12:10

Hallo Liebe SB Mitglieder,

Unswar habe ich schon sehr lange folgendes Problem jedoch kann ich mir dies nicht erklären.

Fehler1 :

Zitat:
ErrorException in /home/jahwlfyz/public_html/local/storage/framework/views/9f8e4f4fdf33f694fafd8b6104b019c6 line 29:

Trying to get property of non-object (View: /home/jahwlfyz/public_html/local/resources/views/mainpage.blade.php)

in 9f8e4f4fdf33f694fafd8b6104b019c6 line 29
at CompilerEngine->handleViewException(object(ErrorException), '0') in compiled.php line 13652
at PhpEngine->evaluatePath('/home/jahwlfyz/public_html/local/storage/framework/views/9f8e4f4fdf33f694fafd8b6104b019c6', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'categories' => object(Collection))) in compiled.php line 13683
at CompilerEngine->get('/home/jahwlfyz/public_html/local/resources/views/mainpage.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'categories' => object(Collection))) in compiled.php line 13523
at View->getContents() in compiled.php line 13510
at View->renderContents() in compiled.php line 13501
at View->render() in compiled.php line 14597
at Response->setContent(object(View)) in compiled.php line 14126
at Response->__construct(object(View)) in compiled.php line 7154
at Router->prepareResponse(object(Request), object(View)) in compiled.php line 6954
at Router->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 8952
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 8935
at Pipeline->then(object(Closure)) in compiled.php line 6955
at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 6944
at Router->dispatchToRoute(object(Request)) in compiled.php line 6929
at Router->dispatch(object(Request)) in compiled.php line 1935
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 8952
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in SetupCounterMiddleware.php line 47
at SetupCounterMiddleware->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2438
at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 17
at VerifyCsrfToken->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12083
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 10785
at StartSession->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11789
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11738
at EncryptCookies->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2478
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 8935
at Pipeline->then(object(Closure)) in compiled.php line 1891
at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 1880
at Kernel->handle(object(Request)) in index.php line 53


Fehler 2:

Zitat:
ErrorException in /home/jahwlfyz/public_html/local/storage/framework/views/9f8e4f4fdf33f694fafd8b6104b019c6 line 29:

Trying to get property of non-object

in 9f8e4f4fdf33f694fafd8b6104b019c6 line 29
at HandleExceptions->handleError('8', 'Trying to get property of non-object', '/home/jahwlfyz/public_html/local/storage/framework/views/9f8e4f4fdf33f694fafd8b6104b019c6', '29', array('__path' => '/home/jahwlfyz/public_html/local/storage/framework/views/9f8e4f4fdf33f694fafd8b6104b019c6', '__data' => array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'categories' => object(Collection)), 'obLevel' => '0', '__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'categories' => object(Collection), 'category' => object(Category), 'entries' => object(LengthAwarePaginator), 'entry' => object(MainEntry))) in 9f8e4f4fdf33f694fafd8b6104b019c6 line 29
at include('/home/jahwlfyz/public_html/local/storage/framework/views/9f8e4f4fdf33f694fafd8b6104b019c6') in compiled.php line 13650
at PhpEngine->evaluatePath('/home/jahwlfyz/public_html/local/storage/framework/views/9f8e4f4fdf33f694fafd8b6104b019c6', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'categories' => object(Collection))) in compiled.php line 13683
at CompilerEngine->get('/home/jahwlfyz/public_html/local/resources/views/mainpage.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'categories' => object(Collection))) in compiled.php line 13523
at View->getContents() in compiled.php line 13510
at View->renderContents() in compiled.php line 13501
at View->render() in compiled.php line 14597
at Response->setContent(object(View)) in compiled.php line 14126
at Response->__construct(object(View)) in compiled.php line 7154
at Router->prepareResponse(object(Request), object(View)) in compiled.php line 6954
at Router->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 8952
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 8935
at Pipeline->then(object(Closure)) in compiled.php line 6955
at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 6944
at Router->dispatchToRoute(object(Request)) in compiled.php line 6929
at Router->dispatch(object(Request)) in compiled.php line 1935
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 8952
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in SetupCounterMiddleware.php line 47
at SetupCounterMiddleware->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2438
at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 17
at VerifyCsrfToken->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12083
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 10785
at StartSession->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11789
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11738
at EncryptCookies->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2478
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in compiled.php line 8944
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 8935
at Pipeline->then(object(Closure)) in compiled.php line 1891
at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 1880
at Kernel->handle(object(Request)) in index.php line 53



Es sind 2 Fehler wo ich gedacht habe es liegt an den Rechten jedoch habe ich dem Ordner ( views ) schon die rechte gegeben.
Ich hoffe ihr könnt mir helfen


RE: Script Fehler Frage - Stricted - 28.05.2015 12:13

PHP-Code:
Trying to get property of non-object 

sagt doch schon alles
es wird irgendwo versucht auf ein objekt zuzugreifen das nicht existiert


RE: Script Fehler Frage - HardwareNow - 28.05.2015 12:15

Terrax2 schrieb:

PHP-Code:
Trying to get property of non-object 

sagt doch schon alles
es wird irgendwo versucht auf ein objekt zuzugreifen das nicht existiert


Das Problem die Datei existiert ja schon


RE: Script Fehler Frage - Stricted - 28.05.2015 12:27

HardwareNow schrieb:
Das Problem die Datei existiert ja schon


das hat nichts mit datein zu tun, es wird versucht auf ein nicht existierendes objekt zuzugreifen
also einfach mit new deineKlasse() das entsprechende object initialisieren


RE: Script Fehler Frage - T-I-M - 28.05.2015 14:44

HardwareNow, das script scheint Laravel zu verwenden?
Wenn ja schreibe mich mal bitte an, bin da relativ bewandert Wink