Warning: call_user_func() expects parameter 1 to be a valid callback, class 'Drupal\node\Entity\Node' does not have a method 'ge
Eingetragen von scaexp (123)
am 23.01.2021 - 14:41 Uhr in
am 23.01.2021 - 14:41 Uhr in
Folgende Warnung habe ich in meinem Report. Kann mich da jemand unterstützen, wie ich diese Warnung beheben kann?
Warning: call_user_func() expects parameter 1 to be a valid callback, class 'Drupal\node\Entity\Node' does not have a method 'getCurrentUserId' in Drupal\Core\Field\FieldConfigBase->getDefaultValue() (line 398 of C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\Field\FieldConfigBase.php)
#0 C:\xampp\htdocs\progressive_original\web\core\includes\bootstrap.inc(301): _drupal_error_handler_real(2, 'call_user_func(...', 'C:\\xampp\\htdocs...', 398, Array)
#1 [internal function]: _drupal_error_handler(2, 'call_user_func(...', 'C:\\xampp\\htdocs...', 398, Array)
#2 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\Field\FieldConfigBase.php(398): call_user_func('Drupal\\node\\Ent...', Object(Drupal\node\Entity\Node), Object(Drupal\Core\Field\Entity\BaseFieldOverride))
#3 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\Field\FieldItemList.php(169): Drupal\Core\Field\FieldConfigBase->getDefaultValue(Object(Drupal\node\Entity\Node))
#4 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\Entity\ContentEntityStorageBase.php(177): Drupal\Core\Field\FieldItemList->applyDefaultValue()
#5 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\Entity\ContentEntityStorageBase.php(119): Drupal\Core\Entity\ContentEntityStorageBase->initFieldValues(Object(Drupal\node\Entity\Node), Array)
#6 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\Entity\EntityStorageBase.php(216): Drupal\Core\Entity\ContentEntityStorageBase->doCreate(Array)
#7 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\Entity\EntityForm.php(370): Drupal\Core\Entity\EntityStorageBase->create(Array)
#8 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\Entity\HtmlEntityFormController.php(73): Drupal\Core\Entity\EntityForm->getEntityFromRouteMatch(Object(Drupal\Core\Routing\RouteMatch), 'node')
#9 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\Controller\FormController.php(58): Drupal\Core\Entity\HtmlEntityFormController->getFormObject(Object(Drupal\Core\Routing\RouteMatch), 'node.default.de...')
#10 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#11 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#12 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\Render\Renderer.php(573): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#13 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#14 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#15 C:\xampp\htdocs\progressive_original\vendor\symfony\http-kernel\HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#16 C:\xampp\htdocs\progressive_original\vendor\symfony\http-kernel\HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#17 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\StackMiddleware\Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\StackMiddleware\KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\StackMiddleware\ReverseProxyMiddleware.php(47): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\StackMiddleware\NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 C:\xampp\htdocs\progressive_original\vendor\stack\builder\src\Stack\StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 C:\xampp\htdocs\progressive_original\web\core\lib\Drupal\Core\DrupalKernel.php(705): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 C:\xampp\htdocs\progressive_original\web\index.php(22): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#24 {main}
- Anmelden oder Registrieren um Kommentare zu schreiben
Neue Kommentare
vor 1 Tag 4 Stunden
vor 1 Tag 23 Stunden
vor 2 Tagen 59 Minuten
vor 2 Tagen 1 Stunde
vor 2 Tagen 2 Stunden
vor 2 Tagen 6 Stunden
vor 2 Tagen 6 Stunden
vor 2 Tagen 6 Stunden
vor 2 Tagen 7 Stunden
vor 2 Tagen 11 Stunden