Crashes when setting up new view filled with webforms

Created on 7 April 2023, over 1 year ago
Updated 11 October 2023, about 1 year ago

Problem/Motivation

When I started with the stable version of 9.0.2, the view I created would not get past the creation pages. Something would crash it. (See the stack dump below.) When I switched to the newer dev version, the problem did not happen. So something has been fixed there that should be moved to the stable version. I was trying to build a view that would list the webforms.

Warning: Array to string conversion in Drupal\config_view\Form\ConfigViewHelper::responseToString() (line 161 of /var/www/html/com7/web/modules/contrib/config_view/src/Form/ConfigViewHelper.php)
#0 /var/www/html/com7/web/core/includes/bootstrap.inc(158): _drupal_error_handler_real()
#1 [internal function]: _drupal_error_handler()
#2 /var/www/html/com7/web/modules/contrib/config_view/src/Form/ConfigViewHelper.php(161): implode()
#3 /var/www/html/com7/web/modules/contrib/config_view/src/Plugin/views/query/ConfigViewQuery.php(725): Drupal\config_view\Form\ConfigViewHelper::responseToString()
#4 /var/www/html/com7/web/modules/contrib/config_view/src/Plugin/views/query/ConfigViewQuery.php(216): Drupal\config_view\Plugin\views\query\ConfigViewQuery->addResults()
#5 /var/www/html/com7/web/core/modules/views/src/ViewExecutable.php(1441): Drupal\config_view\Plugin\views\query\ConfigViewQuery->execute()
#6 /var/www/html/com7/web/core/modules/views/src/ViewExecutable.php(1469): Drupal\views\ViewExecutable->execute()
#7 /var/www/html/com7/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2469): Drupal\views\ViewExecutable->render()
#8 /var/www/html/com7/web/core/modules/views/src/ViewExecutable.php(1677): Drupal\views\Plugin\views\display\DisplayPluginBase->preview()
#9 /var/www/html/com7/web/core/modules/views_ui/src/ViewUI.php(609): Drupal\views\ViewExecutable->preview()
#10 /var/www/html/com7/web/core/modules/views_ui/src/ViewPreviewForm.php(62): Drupal\views_ui\ViewUI->renderPreview()
#11 /var/www/html/com7/web/core/lib/Drupal/Core/Entity/EntityForm.php(106): Drupal\views_ui\ViewPreviewForm->form()
#12 /var/www/html/com7/web/core/modules/views_ui/src/ViewFormBase.php(41): Drupal\Core\Entity\EntityForm->buildForm()
#13 [internal function]: Drupal\views_ui\ViewFormBase->buildForm()
#14 /var/www/html/com7/web/core/lib/Drupal/Core/Form/FormBuilder.php(534): call_user_func_array()
#15 /var/www/html/com7/web/core/lib/Drupal/Core/Form/FormBuilder.php(281): Drupal\Core\Form\FormBuilder->retrieveForm()
#16 /var/www/html/com7/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#17 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
#18 /var/www/html/com7/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#19 /var/www/html/com7/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#20 /var/www/html/com7/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#21 /var/www/html/com7/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#22 /var/www/html/com7/vendor/symfony/http-kernel/HttpKernel.php(163): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#23 /var/www/html/com7/vendor/symfony/http-kernel/HttpKernel.php(74): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#24 /var/www/html/com7/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#25 /var/www/html/com7/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#26 /var/www/html/com7/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#27 /var/www/html/com7/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#28 /var/www/html/com7/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#29 /var/www/html/com7/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#30 /var/www/html/com7/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#31 /var/www/html/com7/web/core/lib/Drupal/Core/DrupalKernel.php(686): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#32 /var/www/html/com7/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#33 {main}
πŸ› Bug report
Status

Active

Version

9.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bogdog400

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

Comments & Activities

  • Issue created by @bogdog400
  • πŸ‡³πŸ‡±Netherlands tinto Amsterdam

    Same (or similar) problem here, although the results on D10 and D9.5 differ.

    Steps to recreate:
    - Install Drupal, webform and config_view
    - Enable only webform in /admin/structure/views/settings/config_view
    - Create a new view of type 'webforms'

    On Drupal 10.1.0-dev with config_view 9.0.2:
    Internal server error (500) WSOD

    On Drupal 9.5.2-dev with config_view 9.0.2:
    Warning: Undefined array key "entity revision" in Drupal\views\Plugin\views\query\QueryPluginBase->getEntityTableInfo() (line 288 of core/modules/views/src/Plugin/views/query/QueryPluginBase.php).
    The view is created, but every time I save the view, this warning is triggered.

Production build 0.71.5 2024