I just tried the latest dev on a site running D 8.4.4 and got this error:

User error: Invalid placeholder (!types) in string: Anonymous commenters have the permission to subscribe to comments but cannot leave their contact information on the following content types: !types. You should either disable subscriptions on those types here, revoke the permission for anonymous users, or enable anonymous users to leave their contact information in the comment settings. in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 235 of /var/www/html/drupal/sitename/core/lib/Drupal/Component/Render/FormattableMarkup.php)

I don't see a way to work around this other than disabling the module.

CommentFileSizeAuthor
#4 2938134-4.patch1.57 KBgnuget
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

millionleaves created an issue. See original summary.

Bunty Badgujar’s picture

@millionleaves,
Give steps to produce this error.

calbasi’s picture

This error is shown if the comment entity has not a mail field.
To solve it, just create a mail type field for any comment type entity...
Ps: maybe could be useful add some tricks to the error message, or a warning when trying to use this module with a comment entity without a mail field.

gnuget’s picture

Status: Active » Needs review
FileSize
1.57 KB

I had this problem today so I just wrote a patch.

  • greggles committed 6748381 on 8.x-1.x authored by gnuget
    Issue #2938134 by gnuget: Invalid placeholder (!types) in string
    
greggles’s picture

Status: Needs review » Fixed

Aha, I see this is https://www.drupal.org/node/2575819

Thanks!

Status: Fixed » Closed (fixed)

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