Posted by rowerlowe on November 3, 2011 at 4:49pm
3 followers
Jump to:
| Project: | Family Tree |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Warning: Call-time pass-by-reference has been deprecated in /.../sites/all/modules/family/import.inc on line 209
Warning: Call-time pass-by-reference has been deprecated in /.../sites/all/modules/family/import.inc on line 296
Comments
#1
#2
I think these warnings start appearing with PHP version 5.3.x
From what I've read, all arguments are passed by reference since some earlier version of PHP 5, meaning that using the "&" is not required. The newer PHP versions get annoyed when they are used.
The fix is to remove the "&" in front of any occurrence of "$form_state".
#3
thanks, old_dog! that fixed it