Call to protected method StylePluginBase::renderFields() in views_merge_rows_views_pre_render()

Created on 10 April 2017, over 7 years ago
Updated 27 November 2023, about 1 year ago

Hi,

I am testing project Drupal Remote Dashboard 8.x-3.0 with Views Merge Rows 8.x-2.1 as dependent module. Some views are not generated with an error in the logs:

Error: Call to protected method Drupal\views\Plugin\views\style\StylePluginBase::renderFields() from context '' in views_merge_rows_views_pre_render() (regel 43 van /home/cmseasy/domains/drd.cmseasy.nl/public_html/drupal/sites/drd.cmseasy.nl/modules/views_merge_rows/views_merge_rows.module) #0 [internal function]: views_merge_rows_views_pre_render(Object(Drupal\views\ViewExecutable)) #1 /home/drupal/8/drupal-8/core/lib/Drupal/Core/Extension/ModuleHandler.php(402): call_user_func_array('views_merge_row...', Array) #2 /home/drupal/8/drupal-8/core/modules/views/src/ViewExecutable.php(1509): Drupal\Core\Extension\ModuleHandler->invokeAll('views_pre_rende...', Array) #3 /home/drupal/8/drupal-8/core/modules/views/src/Plugin/views/display/Page.php(171): Drupal\views\ViewExecutable->render() #4 /home/drupal/8/drupal-8/core/modules/views/src/ViewExecutable.php(1616): Drupal\views\Plugin\views\display\Page->execute() #5 /home/drupal/8/drupal-8/core/modules/views/src/Element/View.php(78): Drupal\views\ViewExecutable->executeDisplay('page_1', Array) #6 [internal function]: Drupal\views\Element\View::preRenderViewElement(Array) #7 /home/drupal/8/drupal-8/core/lib/Drupal/Core/Render/Renderer.php(376): call_user_func(Array, Array) #8 /home/drupal/8/drupal-8/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false) #9 /home/drupal/8/drupal-8/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(226): Drupal\Core\Render\Renderer->render(Array, false) #10 /home/drupal/8/drupal-8/core/lib/Drupal/Core/Render/Renderer.php(574): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() #11 /home/drupal/8/drupal-8/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(227): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #12 /home/drupal/8/drupal-8/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)) #13 /home/drupal/8/drupal-8/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)) #14 /home/drupal/8/drupal-8/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #15 /home/drupal/8/drupal-8/vendor/symfony/http-kernel/HttpKernel.php(149): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent)) #16 /home/drupal/8/drupal-8/vendor/symfony/http-kernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #17 /home/drupal/8/drupal-8/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /home/drupal/8/drupal-8/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /home/drupal/8/drupal-8/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /home/drupal/8/drupal-8/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /home/drupal/8/drupal-8/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /home/drupal/8/drupal-8/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /home/drupal/8/drupal-8/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /home/drupal/8/drupal-8/core/lib/Drupal/Core/DrupalKernel.php(656): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /home/drupal/8/drupal-8/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #26 {main}.

I think it is view merge role related.
Environment: server apache 2.4, php 7.1.2 and Drupal 8.3.0

🐛 Bug report
Status

Postponed

Version

2.0

Component

Code

Created by

🇳🇱Netherlands cmseasy

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024