Deprecated function: Calling get_class() without arguments is deprecated

Created on 18 August 2024, 3 months ago
Updated 2 September 2024, 3 months ago

Deprecated function: Calling get_class() without arguments is deprecated in Drupal\better_messages\MessageElementInfoAlter::preRender() (line 38 of /web/modules/contrib/better_messages/src/MessageElementInfoAlter.php)
#0 /web/core/includes/bootstrap.inc(166): _drupal_error_handler_real()
#1 [internal function]: _drupal_error_handler()
#2 /web/modules/contrib/better_messages/src/MessageElementInfoAlter.php(38): get_class()
#3 [internal function]: Drupal\better_messages\MessageElementInfoAlter::preRender()
#4 /web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(113): call_user_func_array()
#5 /web/core/lib/Drupal/Core/Render/Renderer.php(870): Drupal\Core\Render\Renderer->doTrustedCallback()
#6 /web/core/lib/Drupal/Core/Render/Renderer.php(432): Drupal\Core\Render\Renderer->doCallback()
#7 /web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender()
#8 /web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
#9 /web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render()
#10 /web/sites/default/files/php/twig/66c1a46facbe3_page--front.html.twig_1LqLpBjqFKO4eNrN6YK0-uHet/JbCiLqVZtCQ42hT2P9GjlPe7wNgSY77nDc2hzMeV-bE.php(50): Drupal\Core\Template\TwigExtension->escapeFilter()
#11 /vendor/twig/twig/src/Template.php(360): __TwigTemplate_237628d57c65a950e2366a8fc65fbb07->doDisplay()
#12 /vendor/twig/twig/src/Template.php(335): Twig\Template->yield()
#13 /vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render()
#14 /web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render()
#15 /web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template()
#16 /web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render()
#17 /web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
#18 /web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render()
#19 /web/sites/default/files/php/twig/66c1a46facbe3_html.html.twig_ctlhX-O8-mwuwy2RjchE3Rl8n/MYtWCPfV0ocbfnG9hfHyaxGrn-KLHcR9_sEw0aSBHNQ.php(124): Drupal\Core\Template\TwigExtension->escapeFilter()
#20 /vendor/twig/twig/src/Template.php(360): __TwigTemplate_32143e1244ff656982d7310ace209815->doDisplay()
#21 /vendor/twig/twig/src/Template.php(335): Twig\Template->yield()
#22 /vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render()
#23 /web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render()
#24 /web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template()
#25 /web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render()
#26 /web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
#27 /web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(158): Drupal\Core\Render\Renderer->render()
#28 /web/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#29 /web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(153): Drupal\Core\Render\Renderer->executeInRenderContext()
#30 /web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse()
#31 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
#32 /web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#33 /vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#34 /vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#35 /web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#36 /web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#37 /web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#38 /web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#39 /web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#40 /web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#41 /web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#42 /web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#43 /web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#44 /web/index.php(19): Drupal\Core\DrupalKernel->handle()
#45 {main}
.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΈπŸ‡¦Saudi Arabia 3eidoz Riyadh

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

Comments & Activities

Production build 0.71.5 2024