Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Error: Call to a member function id() on null #337

Closed
lrkwz opened this issue Nov 28, 2018 · 1 comment
Closed

Error: Call to a member function id() on null #337

lrkwz opened this issue Nov 28, 2018 · 1 comment

Comments

@lrkwz
Copy link

lrkwz commented Nov 28, 2018

Fresh install error accessing http://localhost:8082/admin/config/services/jsonapi (and many other pages as well)

The website encountered an unexpected error. Please try again later.
Error: Call to a member function id() on null in Drupal\jsonapi_extras\JsonapiResourceConfigListBuilder->render() (line 195 of modules/contrib/jsonapi_extras/src/JsonapiResourceConfigListBuilder.php).
Drupal\jsonapi_extras\JsonapiResourceConfigListBuilder->render() (Line: 23)
Drupal\Core\Entity\Controller\EntityListController->listing('jsonapi_resource_config')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 51)
Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 49)
Asm89\Stack\Cors->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 669)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
@lrkwz
Copy link
Author

lrkwz commented Nov 29, 2018

This has been resolved for me after reinstall everything (first try was on top of and existing Drupal install ... my fault) and after contentacms/contentacms.github.io#27

@lrkwz lrkwz closed this as completed Nov 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant