Closed (fixed)
Project:
Boost
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 May 2010 at 13:51 UTC
Updated:
17 May 2010 at 04:40 UTC
These pass-by-reference errors started on the April 29th on line 707. After the latest update they are on line 710.
Example error:
[error] [client 192.168.6.90] PHP Warning: Call-time pass-by-reference has been deprecated in /var/www/sites/all/modules/boost/boost.module on line 710
I do not know how to fix, sorry. Here is my setup:
php 5.2.13
apache 2.2.3
mysql 5.0.90 innodb tables
pressflow-6.16.77
memcache-6.x-1.x-dev
Centos 5.4
Comments
Comment #1
johnthomas00 commentedI am not using the domain module.
710 is the foreach line below.
// Get domains from database
foreach (boost_get_domains(&$node) as $domain_id) {
$domains[$domain_id] = $domain_id;
}
Comment #2
mikeytown2 commentedits what happens when I copy the function header and use it as the call without doing some minor cleanup. Thanks for finding this :)
Committed the fix.