When I go to /admin/config/people/accounts I notice already an error:

Notice: Trying to get property of non-object in login_one_time_mail_text() (regel 646 van /home/domains/sites/all/modules/login_one_time/login_one_time.module).
Notice: Trying to get property of non-object in login_one_time_mail_text() (regel 646 van /home/sites/all/modules/login_one_time/login_one_time.module).

Then when I edit the text for sending the one-time e-mail I get the error 4 times and my custom text is not saving...

CommentFileSizeAuthor
#4 mypatch.patch815 bytesWelsby
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stebentje created an issue. See original summary.

Welsby’s picture

Running into the same problem, keeps reverting back to the default text.

Welsby’s picture

Status: Active » Needs review
Welsby’s picture

FileSize
815 bytes

Looks like there are two issues, the first is assuming i18n variables are getting applied to the site configuration.

The second is switching the language object to a langcode variable (named 'language') then forgetting it's already a langcode later on.