Good day. First let me say this is a really great module thanks for all your hard work. I am creating abed and breakfast web site for a client and this module is a perfect fit. I am hoping to be able to contribute back with some detailed documentation on how I used it and how best to set it up. However, I have run into an issue. I am getting the following error(s):
Warning: Call-time pass-by-reference has been deprecated in /home/mdeneve/mmd.xphyr.net/sites/all/modules/agreservations/agreservations.module on line 366
Warning: Call-time pass-by-reference has been deprecated in /home/mdeneve/mmd.xphyr.net/sites/all/modules/agreservations/agreservations.module on line 603
Warning: Call-time pass-by-reference has been deprecated in /home/mdeneve/mmd.xphyr.net/sites/all/modules/agreservations/agreservations.module on line 829
Based on what I can find on the net, this means that the code is using a deprecated process and needs to be updated. Has anyone else seen this error? Is this something that can be easily fixed?
Thanks for your time.
Mark
Comments
Comment #1
agill commentedsorry for my late response.
i think i solved this issue now, by changing among other lines:
date_create(&$form['#node']->field_agres_checkinout[0]['value']);
to date_create($form['#node']->field_agres_checkinout[0]['value']);
the & stands for passing a parameter as a reference. Probably a type
which in my environment didnt throw a warning due to my php.ini settings i guess.
just commited the changes to cvs. thanks for point that 1 out.
Andreas
Comment #2
agill commented