The 'Help' link provided by the module on the site's modules listing page (Extend) displays

"The website encountered an unexpected error. Please try again later."

error.

Recent log messages show following two errors:

  1. User error: Invalid placeholder (!user) in string: The Profile module provides a fieldable entity, that allows administrators to define different sets of fields for user profiles, which are then displayed in the My Account section. This permits users of a site to share more information about themselves, and can help community-based sites organize users around specific information. in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 233 of /var/www/html/d8/docroot/core/lib/Drupal/Component/Render/FormattableMarkup.php).

  2. Recoverable fatal error: Object of class Drupal\Core\Url could not be converted to string in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 239 of /var/www/html/d8/docroot/core/lib/Drupal/Component/Render/FormattableMarkup.php).

Comments

Vinay15 created an issue. See original summary.

mglaman’s picture

Version: 8.x-1.0-alpha5 » 8.x-1.x-dev

Yeah looks like you can't use ! in token replacement anymore.

mglaman’s picture

Status: Active » Needs review
StatusFileSize
new3.63 KB

Here is fix and test.

Status: Needs review » Needs work

The last submitted patch, 3: invalid_placeholder-2789449-3.patch, failed testing.

The last submitted patch, 3: invalid_placeholder-2789449-3.patch, failed testing.

The last submitted patch, 3: invalid_placeholder-2789449-3.patch, failed testing.

The last submitted patch, 3: invalid_placeholder-2789449-3.patch, failed testing.

mglaman’s picture

StatusFileSize
new3.65 KB

Forgot @group annotation.

mglaman’s picture

Status: Needs work » Needs review

  • mglaman committed 0a7196e on 8.x-1.x
    Issue #2789449 by mglaman: Invalid placeholder (!user) in string
    
mglaman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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