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.
The following message shows ups when I add
Access type: Denied
Rule type: E-Mail
Mask: %.co.ak
Notice: Only variables should be passed by reference in UserRestrictions->save() (Zeile 228 von /usr/www/users/user/domain.com/www/public/sites/all/modules/user_restrictions/user_restrictions.classes.inc).
Running PHP 7.0.16
Comment | File | Size | Author |
---|---|---|---|
#2 | variable_passed_by_reference-2856139-1.patch | 524 bytes | nicola85 |
Comments
Comment #2
nicola85 CreditAttribution: nicola85 commentedComment #3
TommyK CreditAttribution: TommyK at Caltech commentedPatch works for me. Thanks!
Comment #4
JohnnyW CreditAttribution: JohnnyW commentedYup yup! Works perfect! Thanks!
Comment #5
sjerdoPatch works. Thanks! +1
Comment #6
howdytom CreditAttribution: howdytom as a volunteer commentedComment #7
howdytom CreditAttribution: howdytom as a volunteer commentedYes, patch works for me too. Well done. Thank you!
Comment #8
Rob C CreditAttribution: Rob C commentedPlease commit this, got like 10+ patches for PHP7 in my codebase right now.
Comment #10
adammaloneThanks all, good catch. This has now been committed.