Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corporation starbase tab 500 error #877

Open
muzixa opened this issue Jan 21, 2023 · 7 comments
Open

Corporation starbase tab 500 error #877

muzixa opened this issue Jan 21, 2023 · 7 comments
Labels
bug complexity/low This task has a low complexity level good first issue Good for newcomers modules/corporations Stuff related to corporations ux/ui Things related to interface and user experience

Comments

@muzixa
Copy link

muzixa commented Jan 21, 2023

Hello. Opening corporation starbase tab returning 500 error:

image

Full log:


Trying to get property 'name' of non-object (View: /var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbase/summary.blade.php) (View: /var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbase/summary.blade.php)
(3/3) ViewException
Trying to get property 'name' of non-object (View: /var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbase/summary.blade.php) (View: /var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbase/summary.blade.php)

in d7870e4058d0c42733e5e5c71120780b20fa4da0.php line 70
at CompilerEngine->handleViewException(object(ViewException), 0)
in PhpEngine.php line 45
at PhpEngine->evaluatePath('/var/www/seat/storage/framework/views/972264def73fce4a3abd6efa76671a2c744004b9.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection)))
in CompilerEngine.php line 59
at CompilerEngine->get('/var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbases.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection)))
in View.php line 143
at View->getContents()
in View.php line 126
at View->renderContents()
in View.php line 91
at View->render()
in Response.php line 42
at Response->setContent(object(View))
in Response.php line 205
at Response->__construct(object(View), 200, array('Content-Type' => 'text/html'))
in Router.php line 749
at Router::toResponse(object(Request), object(View))
in Router.php line 721
at Router->prepareResponse(object(Request), object(View))
in Router.php line 681
at Router->Illuminate\Routing\{closure}(object(Request))
in Pipeline.php line 130
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Authorize.php line 45
at Authorize->handle(object(Request), object(Closure), 'corporation.starbase', 'corporation')
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Locale.php line 44
at Locale->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Authenticate.php line 66
at Authenticate->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in VerifyCsrfToken.php line 78
at VerifyCsrfToken->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in StartSession.php line 56
at StartSession->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in EncryptCookies.php line 67
at EncryptCookies->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php line 105
at Pipeline->then(object(Closure))
in Router.php line 683
at Router->runRouteWithinStack(object(Route), object(Request))
in Router.php line 658
at Router->runRoute(object(Request), object(Route))
in Router.php line 624
at Router->dispatchToRoute(object(Request))
in Router.php line 613
at Router->dispatch(object(Request))
in Kernel.php line 170
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
in Pipeline.php line 130
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in TrustProxies.php line 57
at TrustProxies->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in CheckForMaintenanceMode.php line 63
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php line 105
at Pipeline->then(object(Closure))
in Kernel.php line 145
at Kernel->sendRequestThroughRouter(object(Request))
in Kernel.php line 110
at Kernel->handle(object(Request))
in index.php line 54
(2/3) ViewException
Trying to get property 'name' of non-object (View: /var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbase/summary.blade.php)

in d7870e4058d0c42733e5e5c71120780b20fa4da0.php line 70
at CompilerEngine->handleViewException(object(ErrorException), 2)
in PhpEngine.php line 45
at PhpEngine->evaluatePath('/var/www/seat/storage/framework/views/d7870e4058d0c42733e5e5c71120780b20fa4da0.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'obLevel' => 0, 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection), 'request' => object(Request)))
in CompilerEngine.php line 59
at CompilerEngine->get('/var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbase/summary.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'obLevel' => 0, 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection), 'request' => object(Request)))
in View.php line 143
at View->getContents()
in View.php line 126
at View->renderContents()
in View.php line 91
at View->render()
in 972264def73fce4a3abd6efa76671a2c744004b9.php line 10
at include('/var/www/seat/storage/framework/views/972264def73fce4a3abd6efa76671a2c744004b9.php')
in PhpEngine.php line 43
at PhpEngine->evaluatePath('/var/www/seat/storage/framework/views/972264def73fce4a3abd6efa76671a2c744004b9.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection)))
in CompilerEngine.php line 59
at CompilerEngine->get('/var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbases.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection)))
in View.php line 143
at View->getContents()
in View.php line 126
at View->renderContents()
in View.php line 91
at View->render()
in Response.php line 42
at Response->setContent(object(View))
in Response.php line 205
at Response->__construct(object(View), 200, array('Content-Type' => 'text/html'))
in Router.php line 749
at Router::toResponse(object(Request), object(View))
in Router.php line 721
at Router->prepareResponse(object(Request), object(View))
in Router.php line 681
at Router->Illuminate\Routing\{closure}(object(Request))
in Pipeline.php line 130
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Authorize.php line 45
at Authorize->handle(object(Request), object(Closure), 'corporation.starbase', 'corporation')
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Locale.php line 44
at Locale->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Authenticate.php line 66
at Authenticate->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in VerifyCsrfToken.php line 78
at VerifyCsrfToken->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in StartSession.php line 56
at StartSession->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in EncryptCookies.php line 67
at EncryptCookies->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php line 105
at Pipeline->then(object(Closure))
in Router.php line 683
at Router->runRouteWithinStack(object(Route), object(Request))
in Router.php line 658
at Router->runRoute(object(Request), object(Route))
in Router.php line 624
at Router->dispatchToRoute(object(Request))
in Router.php line 613
at Router->dispatch(object(Request))
in Kernel.php line 170
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
in Pipeline.php line 130
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in TrustProxies.php line 57
at TrustProxies->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in CheckForMaintenanceMode.php line 63
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php line 105
at Pipeline->then(object(Closure))
in Kernel.php line 145
at Kernel->sendRequestThroughRouter(object(Request))
in Kernel.php line 110
at Kernel->handle(object(Request))
in index.php line 54
(1/3) ErrorException
Trying to get property 'name' of non-object

in d7870e4058d0c42733e5e5c71120780b20fa4da0.php line 70
at HandleExceptions->handleError(8, 'Trying to get property \'name\' of non-object', '/var/www/seat/storage/framework/views/d7870e4058d0c42733e5e5c71120780b20fa4da0.php', 70, array('__path' => '/var/www/seat/storage/framework/views/d7870e4058d0c42733e5e5c71120780b20fa4da0.php', '__data' => array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'obLevel' => 0, 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection), 'request' => object(Request)), 'obLevel' => 2, '__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection), 'request' => object(Request), '__currentLoopData' => object(Collection), 'starbase' => object(CorporationStarbase), 'loop' => object(stdClass)))
in d7870e4058d0c42733e5e5c71120780b20fa4da0.php line 70
at include('/var/www/seat/storage/framework/views/d7870e4058d0c42733e5e5c71120780b20fa4da0.php')
in PhpEngine.php line 43
at PhpEngine->evaluatePath('/var/www/seat/storage/framework/views/d7870e4058d0c42733e5e5c71120780b20fa4da0.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'obLevel' => 0, 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection), 'request' => object(Request)))
in CompilerEngine.php line 59
at CompilerEngine->get('/var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbase/summary.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'obLevel' => 0, 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection), 'request' => object(Request)))
in View.php line 143
at View->getContents()
in View.php line 126
at View->renderContents()
in View.php line 91
at View->render()
in 972264def73fce4a3abd6efa76671a2c744004b9.php line 10
at include('/var/www/seat/storage/framework/views/972264def73fce4a3abd6efa76671a2c744004b9.php')
in PhpEngine.php line 43
at PhpEngine->evaluatePath('/var/www/seat/storage/framework/views/972264def73fce4a3abd6efa76671a2c744004b9.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection)))
in CompilerEngine.php line 59
at CompilerEngine->get('/var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbases.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'corporation' => object(CorporationInfo), 'sheet' => object(CorporationInfo), 'starbases' => object(Collection)))
in View.php line 143
at View->getContents()
in View.php line 126
at View->renderContents()
in View.php line 91
at View->render()
in Response.php line 42
at Response->setContent(object(View))
in Response.php line 205
at Response->__construct(object(View), 200, array('Content-Type' => 'text/html'))
in Router.php line 749
at Router::toResponse(object(Request), object(View))
in Router.php line 721
at Router->prepareResponse(object(Request), object(View))
in Router.php line 681
at Router->Illuminate\Routing\{closure}(object(Request))
in Pipeline.php line 130
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Authorize.php line 45
at Authorize->handle(object(Request), object(Closure), 'corporation.starbase', 'corporation')
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Locale.php line 44
at Locale->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Authenticate.php line 66
at Authenticate->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in VerifyCsrfToken.php line 78
at VerifyCsrfToken->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in StartSession.php line 56
at StartSession->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in EncryptCookies.php line 67
at EncryptCookies->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php line 105
at Pipeline->then(object(Closure))
in Router.php line 683
at Router->runRouteWithinStack(object(Route), object(Request))
in Router.php line 658
at Router->runRoute(object(Request), object(Route))
in Router.php line 624
at Router->dispatchToRoute(object(Request))
in Router.php line 613
at Router->dispatch(object(Request))
in Kernel.php line 170
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
in Pipeline.php line 130
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in TrustProxies.php line 57
at TrustProxies->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in CheckForMaintenanceMode.php line 63
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php line 105
at Pipeline->then(object(Closure))
in Kernel.php line 145
at Kernel->sendRequestThroughRouter(object(Request))
in Kernel.php line 110
at Kernel->handle(object(Request))
in index.php line 54
@warlof
Copy link
Member

warlof commented Jan 21, 2023

Hello,

What is your SDE version?

@muzixa
Copy link
Author

muzixa commented Jan 21, 2023

Just updated SDE to last version, still same issue:
(if it will help - this happens only for one corporation, other works fine)

image

@warlof
Copy link
Member

warlof commented Jan 21, 2023

Could it be possible you have a star base which is unanchored ?

@muzixa
Copy link
Author

muzixa commented Jan 21, 2023

Could it be possible you have a star base which is unanchored ?

I'll ask ceo and let you know

@warlof warlof added bug good first issue Good for newcomers complexity/low This task has a low complexity level modules/corporations Stuff related to corporations ux/ui Things related to interface and user experience labels Jan 21, 2023
@muzixa
Copy link
Author

muzixa commented Jan 21, 2023

Could it be possible you have a star base which is unanchored ?

yes, corporation have unanchored starbase

@warlof
Copy link
Member

warlof commented Jan 21, 2023

Then it's the cause of your error
We currently expect a moon for a star base.

@xenon007
Copy link

In v5 reprodussed error. but corp do not have a unanchored smth. had a 1 pos and some pocos. Can you add to ignore a name? if unanchored or smth non standart let print the name "unanchored"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug complexity/low This task has a low complexity level good first issue Good for newcomers modules/corporations Stuff related to corporations ux/ui Things related to interface and user experience
Projects
None yet
Development

No branches or pull requests

3 participants