Use of "self" in callables is deprecated

Created on 15 January 2024, 10 months ago
Updated 9 August 2024, 3 months ago

Problem/Motivation

Deprecated function: Use of "self" in callables is deprecated in Drupal\quiz\Form\QuizQuestionsForm->buildForm() (line 133 of modules/contrib/quiz/src/Form/QuizQuestionsForm.php).
Drupal\quiz\Form\QuizQuestionsForm->buildForm(Array, Object, Object)
call_user_func_array(Array, Array) (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm('quiz_questions_form', Object) (Line: 283)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\quiz\Form\QuizQuestionsForm', Object) (Line: 224)
Drupal\Core\Form\FormBuilder->getForm('Drupal\quiz\Form\QuizQuestionsForm', Object) (Line: 123)
Drupal\quiz\Controller\QuizController->manageQuestions(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: 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)
๐Ÿ› Bug report
Status

Fixed

Version

7.0

Component

Code - Quiz core

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany chekka.de Mรผnchen

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

Comments & Activities

Production build 0.71.5 2024