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

rowerlowe’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
old_dog’s picture

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".

daubenp’s picture

thanks, old_dog! that fixed it

Zarevac’s picture

Assigned: Unassigned » Zarevac
Status: Active » Closed (fixed)