Download & Extend

Am getting the following warnings when enabling module

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

Version:7.x-1.0» 7.x-1.x-dev

#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