Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 305144

Site Install Produces warning Warning: Undefined array key on 11.x Head

$
0
0

Problem/Motivation

Site Install Produces warning Warning: Undefined array key on 11.x Head

I am seeing below warnings in watchdog logs Both with Drush 12+ and Site install from UI.

Warning: Undefined array key "/var/www/html/web/core/modules/system/system.links.action.yml" in Drupal\Component\Discovery\YamlDiscovery->findAll() (line 55 of /var/www/html/web/core/lib/Drupal/Component/Discovery/YamlDiscovery.php)
#0 /var/www/html/web/core/includes/bootstrap.inc(164): _drupal_error_handler_real(2, 'Undefined array...', '/var/www/html/r...', 55)
#1 /var/www/html/web/core/lib/Drupal/Component/Discovery/YamlDiscovery.php(55): _drupal_error_handler(2, 'Undefined array...', '/var/www/html/r...', 55)
#2 /var/www/html/web/core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php(75): Drupal\Component\Discovery\YamlDiscovery->findAll()
#3 /var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(86): Drupal\Core\Plugin\Discovery\YamlDiscovery->getDefinitions()
#4 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(291): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions()
#5 /var/www/html/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(181): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions()
#6 /var/www/html/web/core/lib/Drupal/Core/Menu/LocalActionManager.php(165): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#7 /var/www/html/web/core/lib/Drupal/Core/Menu/Plugin/Block/LocalActionsBlock.php(80): Drupal\Core\Menu\LocalActionManager->getActionsForRoute('user.login')
#8 /var/www/html/web/core/modules/block/src/BlockViewBuilder.php(171): Drupal\Core\Menu\Plugin\Block\LocalActionsBlock->build()
#9 [internal function]: Drupal\block\BlockViewBuilder::preRender(Array)
#10 /var/www/html/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(111): call_user_func_array(Array, Array)
#11 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(788): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')
#12 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(377): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#13 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(449): Drupal\Core\Render\Renderer->doRender(Array)
#14 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#15 /var/www/html/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render(Array)
#16 /var/www/html/web/sites/default/files/php/twig/64a6df758725d_page.html.twig_TGnBvuDsKBS2w1q4s_heud9ln/fFb5Lxm6_yvNz5tDPV0VWTlqVBIpThdGsR6aexckF1Y.php(124): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#17 /var/www/html/vendor/twig/twig/src/Template.php(394): __TwigTemplate_eb126d6a44902446b4f87edb09059cac->doDisplay(Array, Array)
#18 /var/www/html/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array)
#19 /var/www/html/vendor/twig/twig/src/Template.php(379): Twig\Template->display(Array)
#20 /var/www/html/vendor/twig/twig/src/TemplateWrapper.php(40): Twig\Template->render(Array, Array)
#21 /var/www/html/web/core/themes/engines/twig/twig.engine(39): Twig\TemplateWrapper->render(Array)
#22 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(345): twig_render_template('core/themes/oli...', Array)
#23 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(436): Drupal\Core\Theme\ThemeManager->render('page', Array)
#24 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#25 /var/www/html/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render(Array)
#26 /var/www/html/web/sites/default/files/php/twig/64a6df758725d_html.html.twig_Huwg9ef7MUdT5L_buGFY3Vhlb/Oiws4bCYs2W5gdXiVxO167b56HsUUdoPM58PMzKJHRU.php(93): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#27 /var/www/html/vendor/twig/twig/src/Template.php(394): __TwigTemplate_39e9826c392d3e1c6117e13445af8b58->doDisplay(Array, Array)
#28 /var/www/html/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array)
#29 /var/www/html/vendor/twig/twig/src/Template.php(379): Twig\Template->display(Array)
#30 /var/www/html/vendor/twig/twig/src/TemplateWrapper.php(40): Twig\Template->render(Array, Array)
#31 /var/www/html/web/core/themes/engines/twig/twig.engine(39): Twig\TemplateWrapper->render(Array)
#32 /var/www/html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(345): twig_render_template('core/themes/oli...', Array)
#33 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(436): Drupal\Core\Theme\ThemeManager->render('html', Array)
#34 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#35 /var/www/html/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(158): Drupal\Core\Render\Renderer->render(Array)
#36 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(583): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#37 /var/www/html/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(159): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#38 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#39 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#40 /var/www/html/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#41 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(171): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#42 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(74): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#43 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#44 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#45 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(191): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#46 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#47 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#48 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#49 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#50 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#51 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#52 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#53 {main}
.

Warning: Undefined array key "/var/www/html/web/core/modules/views_ui/views_ui.links.contextual.yml" in Drupal\Component\Discovery\YamlDiscovery->findAll() (line 55 of /var/www/html/web/core/lib/Drupal/Component/Discovery/YamlDiscovery.php)

Warning: Undefined array key "/var/www/html/web/core/modules/user/user.links.contextual.yml" in Drupal\Component\Discovery\YamlDiscovery->findAll() (line 55 of /var/www/html/web/core/lib/Drupal/Component/Discovery/YamlDiscovery.php)

Warning: Undefined array key "/var/www/html/web/core/modules/taxonomy/taxonomy.links.contextual.yml" in Drupal\Component\Discovery\YamlDiscovery->findAll() (line 55 of /var/www/html/web/core/lib/Drupal/Component/Discovery/YamlDiscovery.php)

Warning: Undefined array key "/var/www/html/web/core/modules/field_ui/field_ui.links.action.yml" in Drupal\Component\Discovery\YamlDiscovery->findAll() (line 55 of /var/www/html/web/core/lib/Drupal/Component/Discovery/YamlDiscovery.php)

Warning: Undefined array key "/var/www/html/web/core/modules/node/node.links.contextual.yml" in Drupal\Component\Discovery\YamlDiscovery->findAll() (line 55 of /var/www/html/web/core/lib/Drupal/Component/Discovery/YamlDiscovery.php)

Warning: Undefined array key "/var/www/html/web/core/modules/menu_ui/menu_ui.links.contextual.yml" in Drupal\Component\Discovery\YamlDiscovery->findAll() (line 55 of /var/www/html/web/core/lib/Drupal/Component/Discovery/YamlDiscovery.php)

---------------------------------------------------------------------------------------------------------
Warning: Undefined array key "" in Drupal\user\PermissionHandler->Drupal\user\{closure}() (line 215 of /var/www/html/web/core/modules/user/src/PermissionHandler.php)

Warning: Undefined array key "" in Drupal\user\PermissionHandler->Drupal\user\{closure}() (line 211 of /var/www/html/web/core/modules/user/src/PermissionHandler.php)

Warning: Undefined array key "" in Drupal\user\PermissionHandler->Drupal\user\{closure}() (line 215 of /var/www/html/web/core/modules/user/src/PermissionHandler.php)

drush st
Drupal version   : 11.0-dev
Site URI         : https://drupal-contrib.ddev.site
DB driver        : mysql
DB hostname      : db
DB port          : 3306
DB username      : db
DB name          : db
Database         : Connected
Drupal bootstrap : Successful
Default theme    : olivero
Admin theme      : claro
PHP binary       : /usr/bin/php8.1
PHP config       : /etc/php/8.1/cli/php.ini
PHP OS           : Linux
PHP version      : 8.1.16
Drush script     : /var/www/html/vendor/bin/drush
Drush version    : 12.1.1.0
Drush temp       : /tmp
Drush configs    : /var/www/html/vendor/drush/drush/drush.yml
Install profile  : standard
Drupal root      : /var/www/html/web
Site path        : sites/default
Files, Public    : sites/default/files
Files, Temp      : /tmp

Steps to reproduce

Run drush si and you observe above messages in dblog.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 305144

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>