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.
Using pressflow 6.22 with E_NOTICE on, I get
Only variables should be passed by reference
/sites/all/modules/content_profile/content_profile.rules_defaults.inc
line 13
Comment | File | Size | Author |
---|---|---|---|
#2 | content_profile-1373544-only-variables-should-be-passed-by-reference.patch | 583 bytes | jaapjan |
Comments
Comment #1
jessehsBump... I'm seeing this too. Same conditions.
Comment #2
jaapjan CreditAttribution: jaapjan commentedSee attached patch.
Comment #3
kenianbei CreditAttribution: kenianbei commentedSame issue here, patch removed warning.
Comment #4
jessehsComment #5
joelpittetThanks @jaapjan that patch works, possibly consider this one too it may be slightly faster:
http://stackoverflow.com/questions/6698428/return-first-key-of-associati...
Either way this is still RTBC.
Comment #6
roball CreditAttribution: roball commentedCan confirm that the patch eliminates the PHP error under PHP 5.4. However, it doesn't seem that it ever gets committed.
Comment #7
DamienMcKenna