Warning: Call-time pass-by-reference has been deprecated - elatedcontent.module on line 189

kenorb - January 16, 2009 - 16:51
Project:RelatedContent
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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 [runtime function name](). 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 /home/xcomkids/public_html/sites/all/modules/contributions/relatedcontent/relatedcontent.module on line 189

Solution:
change:
_relatedcontent_menu_relatedcontent(&$items);
to:
_relatedcontent_menu_relatedcontent($items);

#1

kenorb - July 23, 2009 - 16:01
Status:needs review» reviewed & tested by the community

Any news?

#2

peter-boeren - July 27, 2009 - 18:50
Status:reviewed & tested by the community» fixed

I suppose you mean 6.x.1.x-dev. This issue has been fixed in the latest dev. The commit happened on July 11, 2009. Thanks for the solution though, any feedback is welcome

#3

System Message - August 10, 2009 - 18:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.