CMS MADE SIMPLE FORGE

CMS Forms

 

[#6031] Call-time pass-by-reference has been deprecated

avatar
Created By: Leonardo R. da Rosa (lrrosa)
Date Submitted: Sun Jan 23 18:09:03 -0500 2011

Assigned To: Jean-Christophe Cuvelier (totophe)
Version: CMSForms 0.0.17
CMSMS Version: None
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Call-time pass-by-reference has been deprecated
Detailed Description:
CMS version: 1.9.2

After installing CMSForms 0.0.10 I always get this annoying message:

Warning: Call-time pass-by-reference has been deprecated in
/<path>/modules/CMSForms/lib/classes/CMSForm.class.php on line 149 Warning:
Call-time pass-by-reference has been deprecated in
/<path>/modules/CMSForms/lib/classes/CMSFormWidget.class.php on line 339
Warning: Call-time pass-by-reference has been deprecated in
/<path>/modules/CMSForms/lib/classes/CMSFormWidget.class.php on line 751
Warning: Call-time pass-by-reference has been deprecated in
/<path>/modules/CMSForms/lib/classes/CMSFormWidget.class.php on line 757


History

Comments
avatar
Date: 2011-03-24 08:05
Posted By: Dean Giles (DeanoG)

I did have the same errors. What I did to get rid of them was the following:
In the CMSForm.class.php and CMSFormValidator.class.php and
CMSFormWidget.class.php in the lib directory I searched for the "&$" and
replaced that with "$".
That did the trick for me.

Did some investigations on Google and as far as I understood this warning is
caused by an old (php 4) style of method call using a reference.
      
avatar
Date: 2011-03-31 09:14
Posted By: Jean-Christophe Cuvelier (totophe)

This is solved in the version 0.0.17
      
Updates

Updated: 2011-03-31 09:14
version_id: 28746 => 28966
resolution_id: => 7
assigned_to_id: 100 => 2304
state: Open => Closed