PHP error when logging in as activist truncates output
Submitted by mdh on Fri, 07/20/2007 - 15:03.
AdvoKit Users
[Fri Jul 20 21:55:31 2007] [error] [client x.x.x.x] PHP Catchable fatal error: Object of class User could not be converted to string in /path/to/advokitstuff/files/Displays/Home.class.php on line 54
This occurs when logging in as an advocate type user. I haven't modified the pages or anything really at all, so I'm not sure what's up.
I'm running php 5.2.3 with the advokit 1.0 downloaded just the other day. This prevents the important links from being displayed to users. Everything else seems to be working.
Thanks folks!

It's fixed in the current development branch
It's fixed in the current development branch ("advokit-installer-r1-x-dev") but not in the 1.0.0 release.
You can fix it yourself quite easily by editing the /files/Displays/Home.class.php file as follows:
comment out the following code...
$user =& $this->context->user; if($user->id == 3) #user is admin { #see if the initial campaign needs to be set up }like this...
// $user =& $this->context->user; // // if($user->id == 3) #user is admin // { // #see if the initial campaign needs to be set up // }