- πΊπΈUnited States greggles Denver, Colorado, USA
Without steps to reproduce reliably on the latest versions I'm going to close this as cannot reproduce. Please reopen if you can provide answers to #7.
When I have bypass validation enabled, I can no longer submit a form, even when it is filled in completely.
I get the following error (seen in the Report Logs):
TypeError: end(): Argument #1 ($array) must be of type array, null given in end() (line 418 of /site/web/core/modules/file/src/Element/ManagedFile.php)
#0 /site/web/core/modules/file/src/Element/ManagedFile.php(418): end()
#1 [internal function]: Drupal\file\Element\ManagedFile::validateManagedFile()
#2 /site/web/core/lib/Drupal/Core/Form/FormValidator.php(282): call_user_func_array()
#3 /site/web/core/lib/Drupal/Core/Form/FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm()
#4 /site/web/core/lib/Drupal/Core/Form/FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm()
#5 /site/web/core/lib/Drupal/Core/Form/FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm()
#6 /site/web/core/lib/Drupal/Core/Form/FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm()
#7 /site/web/core/lib/Drupal/Core/Form/FormValidator.php(118): Drupal\Core\Form\FormValidator->doValidateForm()
#8 /site/web/core/lib/Drupal/Core/Form/FormBuilder.php(588): Drupal\Core\Form\FormValidator->validateForm()
#9 /site/web/core/lib/Drupal/Core/Form/FormBuilder.php(498): Drupal\Core\Form\FormBuilder->processForm()
#10 /site/web/modules/contrib/webformnavigation/src/WebformNavigationHelper.php(394): Drupal\Core\Form\FormBuilder->submitForm()
#11 /site/web/modules/contrib/webformnavigation/src/WebformNavigationHelper.php(356): Drupal\webformnavigation\WebformNavigationHelper->validateSinglePage()
#12 /site/web/modules/contrib/webformnavigation/webformnavigation.module(207): Drupal\webformnavigation\WebformNavigationHelper->validateAllPages()
#13 [internal function]: webformnavigation_submission_validation()
#14 /site/web/core/lib/Drupal/Core/Form/FormValidator.php(82): call_user_func_array()
#15 /site/web/core/lib/Drupal/Core/Form/FormValidator.php(275): Drupal\Core\Form\FormValidator->executeValidateHandlers()
#16 /site/web/core/lib/Drupal/Core/Form/FormValidator.php(118): Drupal\Core\Form\FormValidator->doValidateForm()
#17 /site/web/core/lib/Drupal/Core/Form/FormBuilder.php(588): Drupal\Core\Form\FormValidator->validateForm()
#18 /site/web/core/lib/Drupal/Core/Form/FormBuilder.php(320): Drupal\Core\Form\FormBuilder->processForm()
#19 /site/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#20 /site/web/core/modules/layout_builder/src/Controller/LayoutBuilderHtmlEntityFormController.php(39): Drupal\Core\Controller\FormController->getContentResult()
#21 [internal function]: Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult()
#22 /site/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#23 /site/web/core/lib/Drupal/Core/Render/Renderer.php(564): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#24 /site/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#25 /site/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#26 /site/vendor/symfony/http-kernel/HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#27 /site/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#28 /site/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#29 /site/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#30 /site/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#31 /site/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#32 /site/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#33 /site/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#34 /site/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#35 /site/web/core/lib/Drupal/Core/DrupalKernel.php(709): Stack\StackedHttpKernel->handle()
#36 /site/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#37 {main}
P.s.: It happens with all the Webforms I use. I am running the latest versions of Drupal (9.4.5) and the Webform module (6.1.3).
Closed: cannot reproduce
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Without steps to reproduce reliably on the latest versions I'm going to close this as cannot reproduce. Please reopen if you can provide answers to #7.