Closed (fixed)
Project:
Family Tree
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Nov 2011 at 16:49 UTC
Updated:
21 Oct 2012 at 19:04 UTC
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
Comment #1
rowerlowe commentedComment #2
old_dog commentedI 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".
Comment #3
daubenp commentedthanks, old_dog! that fixed it
Comment #4
Zarevac commented