- 🇦🇺Australia gigimaor Narangba/Brisbane
Still getting error
TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in controlled_fields_check_access() (line 608 of /code/web/modules/contrib/controlled_fields/controlled_fields.module) #0 /code/web/modules/contrib/controlled_fields/controlled_fields.module(600): controlled_fields_check_access() #1 /code/web/modules/contrib/controlled_fields/controlled_fields.module(678): controlled_fields_check_access() #2 /code/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(562): controlled_fields_entity_print_form_content_alter() #3 /code/web/modules/contrib/entity_print_form/src/Service/PrintFormBuilder.php(198): Drupal\Core\Extension\ModuleHandler->alter() #4 /code/web/modules/contrib/entity_print_form/src/Service/PrintFormBuilder.php(121): Drupal\entity_print_form\Service\PrintFormBuilder->generateHtml() #5 /code/web/modules/contrib/entity_print_form/src/Plugin/Action/EFormSubmissionViewFormPdf.php(50): Drupal\entity_print_form\Service\PrintFormBuilder->deliverPrintable() #6 /code/vendor/symfony/http-foundation/StreamedResponse.php(112): Drupal\entity_print_form\Plugin\Action\EFormSubmissionViewFormPdf->Drupal\entity_print_form\Plugin\Action\{closure}() #7 /code/vendor/symfony/http-foundation/Response.php(381): Symfony\Component\HttpFoundation\StreamedResponse->sendContent() #8 /code/web/modules/contrib/entity_print_form/src/Plugin/Action/EFormSubmissionViewFormPdf.php(51): Symfony\Component\HttpFoundation\Response->send() #9 /code/web/core/lib/Drupal/Core/Action/ActionBase.php(22): Drupal\entity_print_form\Plugin\Action\EFormSubmissionViewFormPdf->execute() #10 /code/web/core/modules/system/src/Entity/Action.php(129): Drupal\Core\Action\ActionBase->executeMultiple() #11 /code/web/core/modules/views/src/Plugin/views/field/BulkForm.php(415): Drupal\system\Entity\Action->execute() #12 /code/web/core/modules/views/src/Form/ViewsFormMainForm.php(183): Drupal\views\Plugin\views\field\BulkForm->viewsFormSubmit() #13 /code/web/core/modules/views/src/Form/ViewsForm.php(190): Drupal\views\Form\ViewsFormMainForm->submitForm() #14 [internal function]: Drupal\views\Form\ViewsForm->submitForm() #15 /code/web/core/lib/Drupal/Core/Form/FormSubmitter.php(114): call_user_func_array() #16 /code/web/core/lib/Drupal/Core/Form/FormSubmitter.php(52): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() #17 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(595): Drupal\Core\Form\FormSubmitter->doSubmitForm() #18 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(323): Drupal\Core\Form\FormBuilder->processForm() #19 /code/web/core/lib/Drupal/Core/Form/FormBuilder.php(222): Drupal\Core\Form\FormBuilder->buildForm() #20 /code/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2257): Drupal\Core\Form\FormBuilder->getForm() #21 [internal function]: Drupal\views\Plugin\views\display\DisplayPluginBase->elementPreRender() #22 /code/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array() #23 /code/web/core/lib/Drupal/Core/Render/Renderer.php(788): Drupal\Core\Render\Renderer->doTrustedCallback() #24 /code/web/core/lib/Drupal/Core/Render/Renderer.php(374): Drupal\Core\Render\Renderer->doCallback() #25 /code/web/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender() #26 /code/web/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender() #27 /code/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender() #28 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\Core\Render\Renderer->render() #29 /code/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() #30 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(243): Drupal\Core\Render\Renderer->executeInRenderContext() #31 /code/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(132): Drupal\Core\Render\MainContent\HtmlRenderer->prepare() #32 /code/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() #33 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray() #34 /code/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func() #35 /code/vendor/symfony/http-kernel/HttpKernel.php(174): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() #36 /code/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw() #37 /code/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle() #38 /code/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle() #39 /code/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\Core\StackMiddleware\KernelPreHandle->handle() #40 /code/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() #41 /code/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() #42 /code/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle() #43 /code/web/index.php(19): Drupal\Core\DrupalKernel->handle() #44 {main}
suggested patch