By kaspanoombro on
Hello,
on a fresh install and immediately after the setup runs, it goes to the dashboard and appears twice this error message:
Error message
-
Deprecated function: Using null as an array offset is deprecated, use an empty string instead in Drupal\Core\Entity\ContentEntityBase->hasTranslation() (line 984 of core/lib/Drupal/Core/Entity/ContentEntityBase.php).
Drupal\Core\Entity\ContentEntityBase->hasTranslation() (Line: 1911) Twig\Extension\CoreExtension::getAttribute() (Line: 46) __TwigTemplate_c824c4788812577d4d9b118e6b08d125->doDisplay() (Line: 402) Twig\Template->yield() (Line: 386) Twig\Template->render() (Line: 51) Twig\TemplateWrapper->render() (Line: 35) Drupal\Core\Template\TwigThemeEngine->renderTemplate() (Line: 428) Drupal\Core\Theme\ThemeManager->render() (Line: 500) Drupal\Core\Render\Renderer->doRender() (Line: 230) Drupal\Core\Render\Renderer->render() (Line: 1809) Drupal\views\Plugin\views\field\FieldPluginBase->theme() (Line: 778) Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow() call_user_func_array() (Line: 107) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 910) Drupal\Core\Render\Renderer->doCallback() (Line: 441) Drupal\Core\Render\Renderer->doRender() (Line: 230) Drupal\Core\Render\Renderer->render() (Line: 715) Drupal\views\Plugin\views\style\StylePluginBase->renderFields() (Line: 579) Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping() (Line: 467) Drupal\views\Plugin\views\style\StylePluginBase->render() (Line: 2195) Drupal\views\Plugin\views\display\DisplayPluginBase->render() (Line: 1591) Drupal\views\ViewExecutable->render() (Line: 119) Drupal\views\Plugin\views\display\Block->execute() (Line: 1686) Drupal\views\ViewExecutable->executeDisplay() (Line: 80) Drupal\views\Element\View::preRenderViewElement() (Line: 65) Drupal\views\Plugin\Block\ViewsBlock->build() (Line: 72) Drupal\dashboard\Plugin\Block\PlaceholderBlock->build() (Line: 106) Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray->onBuildRender() (Line: 206) Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (Line: 56) Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (Line: 90) Drupal\layout_builder\SectionComponent->toRenderArray() (Line: 88) Drupal\layout_builder\Section->toRenderArray() (Line: 87) Drupal\dashboard\Controller\DashboardController->build() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext():121}() (Line: 634) Drupal\Core\Render\Renderer::{closure:Drupal\Core\Render\Renderer::executeInRenderContext():634}() Fiber->resume() (Line: 649) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::onController():96}() (Line: 183) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 118) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 92) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 53) Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 54) Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 745) Drupal\Core\DrupalKernel->handle() (Line: 19)I am using
ddev config --project-type=drupal --docroot=web --webserver-type=nginx-fpm --database=postgres:18 --php-version 8.5 --nodejs-version=24 How to fix this? thanks.
Comments
Perhaps create a Drupal CMS issue?
Perhaps create a Drupal CMS issue? https://www.drupal.org/project/issues/drupal_cms