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', 26)
get_class() (Line: 26)
Drupal\eca_render\Element\EcaLazy->getInfo() (Line: 136)
Drupal\Core\Render\ElementInfoManager->buildInfo('claro') (Line: 91)
Drupal\Core\Render\ElementInfoManager->getInfo('form') (Line: 817)
Drupal\Core\Form\FormBuilder->prepareForm('system_modules', Array, Object) (Line: 284)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
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
Enable eca_render submodule (either with eca 1.1.4 or 2.0.x) on a site with PHP 8.3
Proposed resolution
See
🐛
Fix deprecated overloaded function usage in PHP 8.3
Fixed
Remaining tasks
User interface changes
API changes
Data model changes