Twig error on webform configuration page
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3124448. -->
Reported by: [bgebistorf](https://www.drupal.org/user/2634927)
>>>
<p>With webform enabled the path /admin/structure/webform show the following error:</p>
<p>The website encountered an unexpected error. Please try again later.<br>
Recoverable fatal error: Object of class Drupal\Core\Link could not be converted to string in Drupal\Component\Utility\Html::getClass() (line 72 of core/lib/Drupal/Component/Utility/Html.php).<br>
Drupal\Component\Utility\Html::getClass(Object) (Line: 130)<br>
__TwigTemplate_00041bf1399e788e97ec4ca368d0da97d515993ffde757efe4aa4aa1368d1146->doDisplay(Array, Array) (Line: 455)<br>
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 422)<br>
Twig\Template->display(Array, Array) (Line: 61)<br>
__TwigTemplate_00041bf1399e788e97ec4ca368d0da97d515993ffde757efe4aa4aa1368d1146->display(Array) (Line: 434)<br>
Twig\Template->render(Array) (Line: 64)<br>
twig_render_template('themes/contrib/gin/templates/dataset/table.html.twig', Array) (Line: 398)<br>
Drupal\Core\Theme\ThemeManager->render('table', Array) (Line: 431)<br>
Drupal\Core\Render\Renderer->doRender(Array) (Line: 444)<br>
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 200)<br>
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)<br>
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)<br>
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)<br>
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)<br>
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)<br>
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)<br>
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)<br>
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)<br>
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)<br>
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67)<br>
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57)<br>
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)<br>
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)<br>
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)<br>
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 49)<br>
Asm89\Stack\Cors->handle(Object, 1, 1) (Line: 47)<br>
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)<br>
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)<br>
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 694)<br>
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)</p>
issue