diff --git a/theme-settings.php b/theme-settings.php
index c354a81e20d3708899d8d4801f38f39047258dd0..c557529a3a79e71b589f11f31a8b556f0297cec7 100644
--- a/theme-settings.php
+++ b/theme-settings.php
@@ -42,7 +42,7 @@ function bootstrap_barrio_form_system_theme_settings_alter(&$form, FormStateInte
       ],
       '#empty_option' => t('None'),
       '#description' => t('If none is selected, you should load the library via Bootstrap Library or manually. If CDN is selected, the library version must be configured in the @bootstrap_library_link.',
-      ['@bootstrap_library_link' => Link::fromTextAndUrl('Bootstrap Library Settings', Url::fromRoute('bootstrap_library.admin'))]),
+      ['@bootstrap_library_link' => Link::fromTextAndUrl('Bootstrap Library Settings', Url::fromRoute('bootstrap_library.admin'))->toString()]),
     ];
   }