Summary
When accessing admin/config/system/smtp, errors such as the following are shown:
2: Error
Type php
Date Sunday, November 8, 2015 - 19:18
User admin
Location SITE/admin/config/system/smtp
Referrer
Message User error: Invalid placeholder: !url in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 240 of PATH_TO_SITE/public/core/lib/Drupal/Component/Render/FormattableMarkup.php).
Severity Error
3: Another Error
Type php
Date Sunday, November 8, 2015 - 19:18
User admin
Location SITE/admin/config/system/smtp
Referrer
Message User error: Invalid placeholder: !name in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 240 of PATH_TO_SITE/public/core/lib/Drupal/Component/Render/FormattableMarkup.php).
Severity Error
Original issue
Hi,
The SMTP module doesn't shows a link in the configuration page.
In my logs I've found 3 messages related to this module:
1: Warning
Type page not found
Date Sunday, November 8, 2015 - 19:18
User admin
Location SITE/admin/config/smtp
Referrer
Message /admin/config/smtp
Severity Warning
2: Error
Type php
Date Sunday, November 8, 2015 - 19:18
User admin
Location SITE/admin/config/system/smtp
Referrer
Message User error: Invalid placeholder: !url in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 240 of PATH_TO_SITE/public/core/lib/Drupal/Component/Render/FormattableMarkup.php).
Severity Error
3: Another Error
Type php
Date Sunday, November 8, 2015 - 19:18
User admin
Location SITE/admin/config/system/smtp
Referrer
Message User error: Invalid placeholder: !name in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 240 of PATH_TO_SITE/public/core/lib/Drupal/Component/Render/FormattableMarkup.php).
Severity Error
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | smtp-show_link_in_configuration_page-2611210-3-D8.patch | 2.83 KB | laszlo.csongor |
Comments
Comment #2
@baux commented...by the way...
I've accessed the configuration by going to SITE/admin/config/system/smtp and the module sent the test mail... ;-)
Comment #3
laszlo.csongor commentedI've created a small patch that solves the placeholder related errors in log.
Comment #4
laszlo.csongor commentedComment #6
alvar0hurtad0To prevent the CI crash we need this issue #2612536: Create some base tests committed
Comment #8
alvar0hurtad0I'm Rerolling the patch
Comment #9
alvar0hurtad0Comment #10
@baux commentedIn the latest dev version, I don't have the warning message but I still have both errors. The SMTP Authentication Support is visible on the "Configuration" page.
These errors are not shown while in stalling the module, but when accessing the admin/config/system/smtp page.
Comment #11
@baux commentedComment #12
ptmkenny commentedComment #13
estoyausente@baux Using dev version and applying this patch the error doesn't appear anymore. I think that we can commit this patch without risk.
Comment #14
@baux commentedOK, I will test in the next days.
Thank you very much
Comment #15
akishankarIn the latest dev version, I don't have any warning/error message but I still don't receive any email.
Also, admin/config/system/smtp page shows no error.
Post configuring, I see the following message:
but none of the mails get delivered.
Comment #16
estoyausente@akishankar I could test that email is received correctly.
It seems stupid but... have you checked your spam folder? Can you tell us any other information. Right now the module is running correctly in my site, mails are sent and any errors are shown.
Comment #17
mikeegouldingThis is working for me as well.
Comment #18
laszlo.csongor commentedIn that case, can we have the patch committed? Thanks.
Comment #19
mpp commentedWould be nice to have this patch committed. Thanks.
Comment #21
wundo commentedFixed.