Drupal 8.0.2 on Pantheon
Environmental Indicator 3.x-dev (2015-Dec-14)

Steps to reproduce:

1. Enable module.
2. Go to /admin/config/development/environment-indicator.
3. Save the configuration.

Error message:

Warning: htmlspecialchars() expects parameter 1 to be string, object given in Drupal\Component\Utility\Html::escape() (line 407 of core/lib/Drupal/Component/Utility/Html.php).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ptmkenny created an issue. See original summary.

akeemw’s picture

Status: Active » Needs review
FileSize
3.76 KB

It looks like the returned URLs needed to be converted into strings. Attaching patch that worked for us.

ericduran’s picture

Status: Needs review » Needs work

@akeemw there is also another issue here. The variable`@permissions` should be changed to `:permissions` same goes for @settings.

tibezh’s picture

Status: Needs work » Needs review
FileSize
4.09 KB

Here is a patch for the issue

e0ipso’s picture

Status: Needs review » Fixed

Thanks for contributing to move this module forward.

  • e0ipso committed ff3d29e on 8.x-3.x authored by akeemw
    Issue #2661742 by tibezh, akeemw, ptmkenny, ericduran, e0ipso: Warning:...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.