Fatal error on Drupal Status report page

Created on 15 April 2022, over 2 years ago
Updated 20 March 2024, 9 months ago

When module is not configured and visit the status report page we get next error:

TypeError: strpos(): Argument #1 ($haystack) must be of type string, Drupal\Core\Url given in strpos() (line 358 of core/lib/Drupal/Component/Utility/UrlHelper.php).
strpos(Object, ':') (Line: 358)
Drupal\Component\Utility\UrlHelper::stripDangerousProtocols(Object) (Line: 213)
Drupal\Component\Render\FormattableMarkup::placeholderFormat('LiveChat module has not been configured yet. Please configure its settings from the <a href=":url">LiveChat settings page</a>.', Array) (Line: 195)

Url object should be converted to a string.

πŸ› Bug report
Status

RTBC

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine ozin πŸ‡ΊπŸ‡¦Lviv

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024