Installing the toolbar breakes my fresh D11 page
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3506992. -->
Reported by: [transmitter](https://www.drupal.org/user/126598)
Related to !56
>>>
<h3 id="summary-steps-reproduce">Steps to reproduce</h3>
<p>I have:</p>
<ol>
<li>ddev installed a new 11.1.2 system.</li>
<li>created one content type with 3 fields (I believe this to be irrelevant).</li>
<li>installed gin admin theme</li>
<li>activated it</li>
<li>checked the gin settings - Navigation (Drupal Toolbar)</li>
<li>clicked on Sidebar, Vertical Toolbar (Default)</li>
<li>installed gin_toolbar</li>
</ol>
<p>Then I receive an error page / can't access my website anymore:</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The website encountered an unexpected error. Try again later.</p>
<pre>TypeError: Drupal\Component\Utility\Html::escape(): Argument #1 ($text) must be of type string, null given, called in /var/www/html/web/core/lib/Drupal/Component/Render/FormattableMarkup.php on line 238 in Drupal\Component\Utility\Html::escape() (line 431 of core/lib/Drupal/Component/Utility/Html.php).<br><br>Drupal\Component\Render\FormattableMarkup::placeholderEscape() (Line: 187)<br>Drupal\Component\Render\FormattableMarkup::placeholderFormat() (Line: 78)<br>Drupal\Component\Render\FormattableMarkup->__toString() (Line: 472)<br>Drupal\Core\Render\Renderer->doRender() (Line: 459)<br>Drupal\Core\Render\Renderer->doRender() (Line: 203)<br>Drupal\Core\Render\Renderer->render() (Line: 120)<br>Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 593)<br>Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 119)<br>Drupal\Core\Render\Renderer->renderInIsolation() (Line: 313)<br>Drupal\Core\Render\HtmlResponseAttachmentsProcessor->renderHtmlResponseAttachmentPlaceholders() (Line: 168)<br>Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments() (Line: 97)<br>Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments() (Line: 45)<br>Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond() (Line: 246)<br>Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}() (Line: 206)<br>Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (Line: 56)<br>Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (Line: 216)<br>Symfony\Component\HttpKernel\HttpKernel->filterResponse() (Line: 204)<br>Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)<br>Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)<br>Drupal\Core\StackMiddleware\Session->handle() (Line: 48)<br>Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)<br>Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)<br>Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 116)<br>Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90)<br>Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)<br>Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)<br>Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)<br>Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)<br>Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 709)<br>Drupal\Core\DrupalKernel->handle() (Line: 19)</pre><h3 id="summary-steps-reproduce">Further notes</h3>
<p>I've just reinstalled, enabled the theme, enabled the toolbar and then switched the settings to the vertical toolbar.<br>
Now things are working. So I assume the click without the toolbar installed breaks the site.</p>
issue