Closed (fixed)
Project:
CCK Redirection
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2008 at 07:05 UTC
Updated:
9 Jul 2009 at 15:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
drupal999 commentedconfirming this is still an error in 6.4 using 6.x-1.1
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of template_preprocess_page(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/vhosts/domain.com/httpdocs/7325433/sites/all/modules/cck_redirection/cck_redirection.module on line 465
Comment #2
Proct0t commentedDitto on the confirmation, easy fix though: remove the & in front of $vars on line 465 of cck_redirection.module. :)
Comment #3
kalesco commentedProct0t: Thank you very much for the fix!
Project-Team, please fix this in the new release!!
Comment #4
choster commentedComment #5
robloachYup.... Patched from DRUPAL-6--1.
Comment #6
robloachUhh, forgot the patch.
Comment #7
robloachHere it be without .project.
Comment #8
choster commentedComment #9
Ogredude commentedDon't need to (and probably shouldn't) remove the & in the function declaration. Passing variables by reference in a function declaration is perfectly OK, it's passing by reference in a function call that's deprecated.
Comment #10
chadd commentedi just got this error and applied the fix in #2.
is this going to be fixed in a future release?
thanks!
Comment #11
guillaumeduveauThe fix is in CVS DRUPAL-6--1 but not in the 6.x-1.1 release.
Comment #12
guillaumeduveauHello Robin !!! Thanks for updating CVS HEAD, it now contains this fix I think. I don't know if I should mark this as fixed or not, since there's no -dev branch yet.
Guix
Comment #13
robin monks commentedCorrected in 6.x-1.2.
Robin