Hello
You can check the backtrace as well :
Warning: Array to string conversion in Drupal\ui_patterns\Plugin\UiPatterns\PropType\EnumPropType::convertValueToEnumType() (line 55 of modules/contrib/ui_patterns/src/EnumTrait.php).
Drupal\ui_patterns\Plugin\UiPatterns\PropType\EnumPropType::convertValueToEnumType() (Line: 82)
Drupal\ui_patterns\Plugin\UiPatterns\PropType\EnumPropType::normalizeEnumValue() (Line: 50)
Drupal\ui_patterns\Plugin\UiPatterns\PropType\EnumPropType::normalize() (Line: 135)
Drupal\ui_patterns\Template\TwigExtension->normalizeProps() (Line: 44)
__TwigTemplate_334574a22004c680180d4b985021aae5->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 133)
__TwigTemplate_e86990e63ac9a8958177906e049b2989___1883007922->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 44)
__TwigTemplate_e86990e63ac9a8958177906e049b2989->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 349)
Twig\Template->display() (Line: 364)
Twig\Template->render() (Line: 35)
Twig\TemplateWrapper->render() (Line: 234)
Drupal\Core\Template\TwigEnvironment->renderInline() (Line: 54)
Drupal\Core\Render\Element\InlineTemplate::preRenderInlineTemplate()
call_user_func_array() (Line: 113)
Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 870)
Drupal\Core\Render\Renderer->doCallback() (Line: 432)
Drupal\Core\Render\Renderer->doRender() (Line: 504)
Drupal\Core\Render\Renderer->doRender() (Line: 248)
Drupal\Core\Render\Renderer->render() (Line: 484)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 350)
__TwigTemplate_5fe55ef133dd49a36129acb810c34267->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 132)
__TwigTemplate_68497508b486f09be9d402a27922d59c___966479196->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 44)
__TwigTemplate_68497508b486f09be9d402a27922d59c->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 349)
Twig\Template->display() (Line: 364)
Twig\Template->render() (Line: 35)
Twig\TemplateWrapper->render() (Line: 234)
Drupal\Core\Template\TwigEnvironment->renderInline() (Line: 54)
Drupal\Core\Render\Element\InlineTemplate::preRenderInlineTemplate()
call_user_func_array() (Line: 113)
Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 870)
Drupal\Core\Render\Renderer->doCallback() (Line: 432)
Drupal\Core\Render\Renderer->doRender() (Line: 504)
Drupal\Core\Render\Renderer->doRender() (Line: 248)
Drupal\Core\Render\Renderer->render() (Line: 484)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 70)
__TwigTemplate_470d9e9f567b87d05f0942f00dd67993->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 134)
__TwigTemplate_530ee8b86764a8d9fd757aae145ed775___2102825069->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 44)
__TwigTemplate_530ee8b86764a8d9fd757aae145ed775->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 349)
Twig\Template->display() (Line: 364)
Twig\Template->render() (Line: 35)
Twig\TemplateWrapper->render() (Line: 234)
Drupal\Core\Template\TwigEnvironment->renderInline() (Line: 54)
Drupal\Core\Render\Element\InlineTemplate::preRenderInlineTemplate()
call_user_func_array() (Line: 113)
Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 870)
Drupal\Core\Render\Renderer->doCallback() (Line: 432)
Drupal\Core\Render\Renderer->doRender() (Line: 504)
Drupal\Core\Render\Renderer->doRender() (Line: 248)
Drupal\Core\Render\Renderer->render() (Line: 484)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 100)
__TwigTemplate_09bf4e6a13e892c19452995ad4dfe69a->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 131)
__TwigTemplate_11050f9a6b3f273dd95417ba9ba45576___543805536->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 44)
__TwigTemplate_11050f9a6b3f273dd95417ba9ba45576->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 349)
Twig\Template->display() (Line: 364)
Twig\Template->render() (Line: 35)
Twig\TemplateWrapper->render() (Line: 234)
Drupal\Core\Template\TwigEnvironment->renderInline() (Line: 54)
Drupal\Core\Render\Element\InlineTemplate::preRenderInlineTemplate()
call_user_func_array() (Line: 113)
Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 870)
Drupal\Core\Render\Renderer->doCallback() (Line: 432)
Drupal\Core\Render\Renderer->doRender() (Line: 504)
Drupal\Core\Render\Renderer->doRender() (Line: 504)
Drupal\Core\Render\Renderer->doRender() (Line: 248)
Drupal\Core\Render\Renderer->render() (Line: 484)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 95)
__TwigTemplate_fbf4573c412e03b9fa52d6676493a707->block_content() (Line: 437)
Twig\Template->yieldBlock() (Line: 73)
__TwigTemplate_fbf4573c412e03b9fa52d6676493a707->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 349)
Twig\Template->display() (Line: 364)
Twig\Template->render() (Line: 35)
Twig\TemplateWrapper->render() (Line: 33)
twig_render_template() (Line: 348)
Drupal\Core\Theme\ThemeManager->render() (Line: 491)
Drupal\Core\Render\Renderer->doRender() (Line: 504)
Drupal\Core\Render\Renderer->doRender() (Line: 248)
Drupal\Core\Render\Renderer->render() (Line: 484)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 77)
__TwigTemplate_32116fbe2c68cf5d4b64c2c9dd5a4417->block_header() (Line: 437)
Twig\Template->yieldBlock() (Line: 50)
__TwigTemplate_32116fbe2c68cf5d4b64c2c9dd5a4417->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 349)
Twig\Template->display() (Line: 364)
Twig\Template->render() (Line: 35)
Twig\TemplateWrapper->render() (Line: 33)
twig_render_template() (Line: 348)
Drupal\Core\Theme\ThemeManager->render() (Line: 491)
Drupal\Core\Render\Renderer->doRender() (Line: 248)
Drupal\Core\Render\Renderer->render() (Line: 484)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 87)
__TwigTemplate_cd925203836eab760af9154fdf9e5f81->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 349)
Twig\Template->display() (Line: 364)
Twig\Template->render() (Line: 35)
Twig\TemplateWrapper->render() (Line: 33)
twig_render_template() (Line: 348)
Drupal\Core\Theme\ThemeManager->render() (Line: 491)
Drupal\Core\Render\Renderer->doRender() (Line: 248)
Drupal\Core\Render\Renderer->render() (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 153)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
call_user_func() (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 50)
Drupal\ban\BanMiddleware->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741)
Drupal\Core\DrupalKernel->handle() (Line: 19)
Hello ,
I applied the patch but this warning , is still displaying
Warning: Array to string conversion in Drupal\ui_patterns\Plugin\UiPatterns\PropType\EnumPropType::convertValueToEnumType() (line 55 of modules/contrib/ui_patterns/src/EnumTrait.php)
g4mbini β credited walli β .
g4mbini β credited walli β .
walli β made their first commit to this issueβs fork.
g4mbini β credited Walli β .
Walli β made their first commit to this issueβs fork.