B
B
Bogdan Zhuvak2020-08-06 17:35:01
Drupal
Bogdan Zhuvak, 2020-08-06 17:35:01

Why does not go to the page with a list of users?

When you go to the page https: // site address / admin / people , an error pops up

The website encountered an unexpected error. Please try again later.

The logs say this:
TypeError: Argument 1 passed to Drupal\views\Plugin\views\field\EntityOperations::getEntityTranslation() must implement interface Drupal\Core\Entity\EntityInterface, null given, called in /home/s/startu27/tvojdom/public_html/core/modules/views/src/Plugin/views/field/EntityOperations.php on line 142 в Drupal\views\Plugin\views\field\EntityOperations->getEntityTranslation() (строка 69 из /home/s/startu27/tvojdom/public_html/core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php) #0 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/Plugin/views/field/EntityOperations.php(142): Drupal\views\Plugin\views\field\EntityOperations->getEntityTranslation(NULL, Object(Drupal\views\ResultRow)) #1 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1155): Drupal\views\Plugin\views\field\EntityOperations->render(Object(Drupal\views\ResultRow)) #2 
/home/s/startu27/tvojdom/public_html/core/modules/views/views.theme.inc(236): Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender(Object(Drupal\views\ResultRow)) #3 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/Theme/ThemeManager.php(287): template_preprocess_views_view_field(Array, 'views_view_fiel...', Array) #4 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/Render/Renderer.php(437): Drupal\Core\Theme\ThemeManager->render('views_view_fiel...', Array) #5 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false) #6 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1747): Drupal\Core\Render\Renderer->render(Array) #7 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/Plugin/views/style/StylePluginBase.php(761): Drupal\views\Plugin\views\field\FieldPluginBase->theme(Object(Drupal\views\ResultRow)) #8 [internal function]: Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow(Array) #9 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/Render/Renderer.php(378): call_user_func(Array, Array) #10 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false) #11 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/Plugin/views/style/StylePluginBase.php(709): Drupal\Core\Render\Renderer->render(Array) #12 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/Plugin/views/style/StylePluginBase.php(576): Drupal\views\Plugin\views\style\StylePluginBase->renderFields(Array) #13 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/Plugin/views/style/StylePluginBase.php(468): Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping(Array, Array, true) #14 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2111): Drupal\views\Plugin\views\style\StylePluginBase->render(Array) #15 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/ViewExecutable.php(1533): Drupal\views\Plugin\views\display\DisplayPluginBase->render() #16 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/Plugin/views/display/Page.php(183): Drupal\views\ViewExecutable->render() #17 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/ViewExecutable.php(1630): Drupal\views\Plugin\views\display\Page->execute() #18 
/home/s/startu27/tvojdom/public_html/core/modules/views/src/Element/View.php(77): Drupal\views\ViewExecutable->executeDisplay('page_1', Array) #19 [internal function]: Drupal\views\Element\View::preRenderViewElement(Array) #20 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/Render/Renderer.php(378): call_user_func(Array, Array) #21 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false) #22 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(226): Drupal\Core\Render\Renderer->render(Array, false) #23 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() #24 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(227): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #25 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(117): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch)) #26 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch)) #27 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #28 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #29 
/home/s/startu27/tvojdom/public_html/vendor/symfony/http-kernel/HttpKernel.php(156): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent)) #30 
/home/s/startu27/tvojdom/public_html/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #31 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #32 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #33 
/home/s/startu27/tvojdom/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #34 
/home/s/startu27/tvojdom/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #35 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #36 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #37 
/home/s/startu27/tvojdom/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #38 
/home/s/startu27/tvojdom/public_html/core/lib/Drupal/Core/DrupalKernel.php(693): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #39 
/home/s/startu27/tvojdom/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #40 {main}.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Remizov, 2020-11-08
@niremizov

Drupal 8 bug has a patch https://www.drupal.org/project/drupal/issues/30074...
PS: I found it when I googled your bug https://www.drupal.org/project/drupal/issues/ 2951493

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question