- Issue created by @himanshu_jhaloya
- Issue was unassigned.
- Status changed to Needs review
about 1 year ago 10:22am 22 August 2023 - 🇮🇳India himanshu_jhaloya Indore
Created the Patch for the fix the issue. Please review
- 🇭🇷Croatia portulaca
I got the same Error after upgrading from D8.8 to D9.5.10. All db updates went through and drush status was ok, cache rebuilt, but I was getting WSOD.
After applying the patch I got the site to show up.
The carousel still isn't working correctly and I'm still getting Errors in reports:
Error: Cannot use a scalar value as an array in _owlcarousel_format_settings() (line 113 of /modules/contrib/owlcarousel/owlcarousel.module)
#0 /modules/contrib/owlcarousel/owlcarousel.module(82): _owlcarousel_format_settings()
#1 [internal function]: template_preprocess_owlcarousel_views()
#2 /core/lib/Drupal/Core/Theme/ThemeManager.php(287): call_user_func_array()
#3 /core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render()
#4 /core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender()
#5 /core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender()
#6 /core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render()
#7 /sites/default/files/php/twig/650725053cd53_views-view.html.twig_BlLcFEh-bn1E96s3L9C6enGzN/3MpzNDtFl9tJXhTfS6GDtCyzf1u2Bh0w4Af6xYet4m0.php(110): Drupal\Core\Template\TwigExtension->escapeFilter()
#8 /vendor/twig/twig/src/Template.php(405): __TwigTemplate_70b62d25bd5144577874a9bf37e814ce->doDisplay()
#9 /vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling()
#10 /vendor/twig/twig/src/Template.php(390): Twig\Template->display()
#11 /core/themes/engines/twig/twig.engine(55): Twig\Template->render()
#12 /core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template()
#13 /core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render()
#14 /core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender()
#15 /core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender()
#16 /core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render()
#17 /sites/default/files/php/twig/650725053cd53_block.html.twig_5F8DcAJhGAcLY1gkHU5-0kLgH/qW0XtmQac8v0qt1amf885h8UVsMe5gxhSbt_ZDXThy4.php(84): Drupal\Core\Template\TwigExtension->escapeFilter()
#18 /vendor/twig/twig/src/Template.php(182): __TwigTemplate_63a3a26fcc67716e34c03194943eaf6e->block_content()
#19 /sites/default/files/php/twig/650725053cd53_block.html.twig_5F8DcAJhGAcLY1gkHU5-0kLgH/qW0XtmQac8v0qt1amf885h8UVsMe5gxhSbt_ZDXThy4.php(68): Twig\Template->displayBlock()
#20 /vendor/twig/twig/src/Template.php(405): __TwigTemplate_63a3a26fcc67716e34c03194943eaf6e->doDisplay()
#21 /vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling()
#22 /vendor/twig/twig/src/Template.php(390): Twig\Template->display()
#23 /core/themes/engines/twig/twig.engine(55): Twig\Template->render()
#24 /core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template()
#25 /core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render()
#26 /core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender()
#27 /core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender()
#28 /core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render()
#29 /sites/default/files/php/twig/650725053cd53_page--front.html.twig_zfNTopfwE4522-XoZVHMeYkYD/mND5AKQDQlfNEgKWEe0oxiQpxwzP_JZQZJXM61YqBoA.php(243): Drupal\Core\Template\TwigExtension->escapeFilter()
#30 /vendor/twig/twig/src/Template.php(182): __TwigTemplate_351b05afc2f581dd8f5c62dee7dafff6->block_featured()
#31 /sites/default/files/php/twig/650725053cd53_page--front.html.twig_zfNTopfwE4522-XoZVHMeYkYD/mND5AKQDQlfNEgKWEe0oxiQpxwzP_JZQZJXM61YqBoA.php(94): Twig\Template->displayBlock()
#32 /vendor/twig/twig/src/Template.php(405): __TwigTemplate_351b05afc2f581dd8f5c62dee7dafff6->doDisplay()
#33 /vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling()
#34 /vendor/twig/twig/src/Template.php(390): Twig\Template->display()
#35 /core/themes/engines/twig/twig.engine(55): Twig\Template->render()
#36 /core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template()
#37 /core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render()
#38 /core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender()
#39 /core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render()
#40 /sites/default/files/php/twig/650725053cd53_html.html.twig_n7C1LRD4iBFxEYglBjZffAJAk/5314BQnyYH0Ronh3j6AqNlef1uA3VSdanWCKTJQAgdE.php(84): Drupal\Core\Template\TwigExtension->escapeFilter()
#41 /vendor/twig/twig/src/Template.php(405): __TwigTemplate_143d426f9d2e1dfdc75fb61902de7d8c->doDisplay()
#42 /vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling()
#43 /vendor/twig/twig/src/Template.php(390): Twig\Template->display()
#44 /core/themes/engines/twig/twig.engine(55): Twig\Template->render()
#45 /core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template()
#46 /core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render()
#47 /core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender()
#48 /core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(162): Drupal\Core\Render\Renderer->render()
#49 /core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#50 /core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(163): Drupal\Core\Render\Renderer->executeInRenderContext()
#51 /core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse()
#52 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
#53 /core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func()
#54 /vendor/symfony/http-kernel/HttpKernel.php(174): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#55 /vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#56 /core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#57 /core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#58 /core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#59 /core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#60 /core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#61 /core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#62 /vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#63 /core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle()
#64 /index.php(19): Drupal\Core\DrupalKernel->handle()
#65 {main} - 🇨🇴Colombia juanmarinm
Hello, I had a similar problem. After upgrading to drupal 9.5, I found that the problem is the previous configuration in views with the owncarousel format. So I went to every related view and change settings for the formatter. We dont have all options, but after saving the configurations, the error dissapear. Cloud be a good idea to build an update in install file to rebuild settings of views and not to have a white screen with error in views related pages. I hope this could be util to someone else.
- 🇮🇳India himanshu_jhaloya Indore
Hi @juanmarinm I have created the patch can you apply this if it will not apply check manually and test
- Open in Jenkins → Open on Drupal.org →Core: 9.5.x + Environment: PHP 8.1 & MySQL 5.7 w/Bullseye Upgradeslast update
12 months ago Patch Failed to Apply - last update
12 months ago Patch Failed to Apply - 🇺🇸United States jasonmacer
Hey all, so I've just updated an early 8.x and was running into issues where composer was not recognizing the patch.
I tried it on both versions 8.x-2.0 and 3.0.1, and neither would apply the patch. That said I went in and replaced lines 110 - 120 with the (+) of the patch and it worked after the update.