Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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...
Comment | File | Size | Author |
---|---|---|---|
#4 | mypatch.patch | 815 bytes | Welsby |
Comments
Comment #2
Welsby CreditAttribution: Welsby commentedRunning into the same problem, keeps reverting back to the default text.
Comment #3
Welsby CreditAttribution: Welsby commentedComment #4
Welsby CreditAttribution: Welsby commentedLooks 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.