The following php error has been detected after "Share Buttons by AddToAny" installation:

User error: Invalid placeholder (!hint) in string: AddToAny settings are available in !hint in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 240 of SITE_PATH/core/lib/Drupal/Component/Render/FormattableMarkup.php).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bauxsystem created an issue. See original summary.

tusharbodke’s picture

Assigned: Unassigned » tusharbodke
tusharbodke’s picture

Hi
Please check attached patch to resolve above reported issue.
Let me know if any suggestion.

Thanks

tusharbodke’s picture

Status: Active » Needs review
wasare’s picture

@tusharbodke I tested this patch and now the error message disappeared from the log records, Thanks!

  • tusharbodke authored 29fdbcc on 8.x-1.x
    Issue #2651386 by tusharbodke: Invalid Placeholder
    
micropat’s picture

Status: Needs review » Fixed

Fixed in 8.x-1.1. Thanks for reporting @baux and for the patch @tusharbodke.

tusharbodke’s picture

Thanks @micropat for Credit!!!

@baux’s picture

Thanks to you micropat and tusharbodke.

Nice to help to make a better world :-)

Status: Fixed » Closed (fixed)

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