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-&gt;__toString() (Line: 472)<br>Drupal\Core\Render\Renderer-&gt;doRender() (Line: 459)<br>Drupal\Core\Render\Renderer-&gt;doRender() (Line: 203)<br>Drupal\Core\Render\Renderer-&gt;render() (Line: 120)<br>Drupal\Core\Render\Renderer-&gt;Drupal\Core\Render\{closure}() (Line: 593)<br>Drupal\Core\Render\Renderer-&gt;executeInRenderContext() (Line: 119)<br>Drupal\Core\Render\Renderer-&gt;renderInIsolation() (Line: 313)<br>Drupal\Core\Render\HtmlResponseAttachmentsProcessor-&gt;renderHtmlResponseAttachmentPlaceholders() (Line: 168)<br>Drupal\Core\Render\HtmlResponseAttachmentsProcessor-&gt;processAttachments() (Line: 97)<br>Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor-&gt;processAttachments() (Line: 45)<br>Drupal\Core\EventSubscriber\HtmlResponseSubscriber-&gt;onRespond() (Line: 246)<br>Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}() (Line: 206)<br>Symfony\Component\EventDispatcher\EventDispatcher-&gt;callListeners() (Line: 56)<br>Symfony\Component\EventDispatcher\EventDispatcher-&gt;dispatch() (Line: 216)<br>Symfony\Component\HttpKernel\HttpKernel-&gt;filterResponse() (Line: 204)<br>Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw() (Line: 76)<br>Symfony\Component\HttpKernel\HttpKernel-&gt;handle() (Line: 53)<br>Drupal\Core\StackMiddleware\Session-&gt;handle() (Line: 48)<br>Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle() (Line: 28)<br>Drupal\Core\StackMiddleware\ContentLength-&gt;handle() (Line: 32)<br>Drupal\big_pipe\StackMiddleware\ContentLength-&gt;handle() (Line: 116)<br>Drupal\page_cache\StackMiddleware\PageCache-&gt;pass() (Line: 90)<br>Drupal\page_cache\StackMiddleware\PageCache-&gt;handle() (Line: 48)<br>Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle() (Line: 51)<br>Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle() (Line: 36)<br>Drupal\Core\StackMiddleware\AjaxPageState-&gt;handle() (Line: 51)<br>Drupal\Core\StackMiddleware\StackedHttpKernel-&gt;handle() (Line: 709)<br>Drupal\Core\DrupalKernel-&gt;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