[rt-users] Can't use string ("") as a HASH ref while "strict refs" in use at /opt/rt3/share/html/Elements/MyRT line 50, <DATA> line 1662

Richard Ellis Richard.Ellis at Sun.COM
Fri Jul 6 08:54:08 EDT 2007


Hi Jessie,

Appears to happen to all users. I'll edit the code now (using rc2 version).

FYI,  have updated DBI, DBIx::Searchbuilder and HTML::Mason to latest 
revs, just in case that was an issue and also taken MySQL to latest v5 rev.

Richard
Jesse Vincent wrote:
>
> On Jul 6, 2007, at 6:08 AM, Richard Ellis wrote:
>
>> Hi Jessie,
>>
>> Thanks, the error changes but it still doesn't work properly. Don't 
>> even know where to begin to look for this error:
>>
>> *System error*
>>
>> *error:*� 	Can't use string ("") as a HASH ref while "strict refs" in 
>> use at /opt/rt3/share/html/Elements/MyRT line 74.
>> *context:*� 	
>> *...*� 	
>> *70:*� 	HomepageSettings => $default_portlets? 
>> $default_portlets->Content: {},
>> *71:*� 	);
>> *72:*� 	}
>> *73:*� 	
>> *74:*� 	my ($body, $summary) = @{$session{'my_rt_portlets'}}{qw(body 
>> summary)};
>> *75:*� 	unless( $body && @$body ) {
>> *76:*� 	$body = $summary || [];
>> *77:*� 	$summary = undef;
>> *78:*� 	}
>> *...*� 	
>>
>> *code stack:*� 	/opt/rt3/share/html/Elements/MyRT:74
>> /opt/rt3/share/html/index.html:81
>> /opt/rt3/share/html/autohandler:291
>>
>> raw error <http://gplive.uk:3000/index.html#raw>
>> Can't use string ("") as a HASH ref while "strict refs" in use at /opt/rt3/share/html/Elements/MyRT line 74.
>>     
>
> just before that line of code, can you Dumper $session{my_rt_portlets}?
>
> Does this only happen for a particular user?
>




More information about the rt-users mailing list