Discussion:
[cc-devel] [ cctools-Bugs-3428066 ] CEditorials::OnGetSysTags() expected to be a reference
SourceForge.net
2011-10-25 04:11:57 UTC
Permalink
Bugs item #3428066, was opened at 2011-10-25 15:11
Message generated for change (Tracker Item Submitted) made by botheredbybees
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=559966&aid=3428066&group_id=80503

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: cchost
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: botheredByBees (botheredbybees)
Assigned to: Victor Stone (fourstones)
Summary: CEditorials::OnGetSysTags() expected to be a reference

Initial Comment:
Just did a fresh install of 5.1 on a test server running PHP 5.3.6-13ubuntu3.2 with Suhosin-Patch (cli) (built: Oct 13 2011 23:09:42)

ERROR(2) "/var/www/cchost/cchost_lib/cc-events.php"(222):
Parameter 2 to CCEditorials::OnGetSysTags() expected to be a
reference, value given [DATE & TIME][127.0.0.1][/submit/samples] An
error occurred

Replaced line 222 with:

//Rather stupid Hack for the call_user_func_array();
$Args = array();
foreach($args as $k => &$arg){
$Args[$k] = &$arg;
}
//End Hack
$results[] = call_user_func_array($callback,$Args);

all seems to be working ok now

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=559966&aid=3428066&group_id=80503
Loading...