From 61ab5a135fce51764cda8fbb9f344d253c9cdf9f Mon Sep 17 00:00:00 2001 From: "narendra.rajwar27" <narendra.rajwar27@3048737.no-reply.drupal.org> Date: Fri, 14 Aug 2020 18:54:15 -0500 Subject: [PATCH] Issue #3163251 by narendra.rajwar27: Warning: htmlspecialchars() expects parameter 1 to be string on theme settings page --- theme-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme-settings.php b/theme-settings.php index c354a81..c557529 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()]), ]; } -- GitLab