Calling get_class() without arguments is deprecated in Drupal\Core\Render\ElementInfoManager

Created on 15 February 2024, 11 months ago

Problem/Motivation

Deprecated function: Calling get_class() without arguments is deprecated in Drupal\Core\Render\ElementInfoManager->Drupal\Core\Render\{closure}() (line 131 of core/lib/Drupal/Core/Render/ElementInfoManager.php).

Drupal\Core\Render\ElementInfoManager->Drupal\Core\Render\{closure}(8192, 'Calling get_class() without arguments is deprecated', '/var/www/html/web/modules/contrib/eca/modules/render/src/Element/EcaLazy.php', 25)
get_class() (Line: 25)
Drupal\eca_render\Element\EcaLazy->getInfo() (Line: 136)
Drupal\Core\Render\ElementInfoManager->buildInfo('olivero') (Line: 91)
Drupal\Core\Render\ElementInfoManager->getInfo('view') (Line: 356)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 238)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 231)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Steps to reproduce

Upgrade a Drupal 10.2.3 site from PHP 8.1 to 8.3

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

💬 Support request
Status

Closed: works as designed

Version

10.2

Component
Render 

Last updated about 8 hours ago

Created by

🇮🇹Italy kopeboy Milan

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

Comments & Activities

  • Issue created by @kopeboy
  • Status changed to Closed: works as designed 11 months ago
  • 🇮🇹Italy kopeboy Milan

    Actually this seems to be related to ECA module, my bad, sorry.

Production build 0.71.5 2024