Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: Dragooon on March 20th, 2012, 03:32 PM

Title: Fatal error: Unsupported operand types in Load.php
Post by: Dragooon on March 20th, 2012, 03:32 PM
Not sure what to make of this but suddenly I got this error after logging out after enabling a plugin :
Fatal error: Unsupported operand types in /usr/local/zend/apache2/htdocs/wedge/trunk/Sources/Load.php on line 474

Investigating further the line is
Code: [Select]
$user_info += $temp
Whereas $temp is false. In the above "if" the comparison is being made as
Code: [Select]
if ($temp === null...
which seems to be wrong
Title: Re: Fatal error: Unsupported operand types in Load.php
Post by: Dragooon on March 20th, 2012, 03:35 PM
Oh, this was on my localhost not here.
Title: Re: Fatal error: Unsupported operand types in Load.php
Post by: Arantor on March 20th, 2012, 03:35 PM
Not really, no. It's trying to pull from cache, and if the cache is empty (wherein it expressly returns null) or if the cache TTL has expired, it re-gathers everything, otherwise it loads from cache.

Not sure why it's throwing an error for you though, that's a bit weird.
Title: Re: Fatal error: Unsupported operand types in Load.php
Post by: Dragooon on March 20th, 2012, 03:36 PM
Quote from Arantor on March 20th, 2012, 03:35 PM
Not really, no. It's trying to pull from cache, and if the cache is empty (wherein it expressly returns null) or if the cache TTL has expired, it re-gathers everything, otherwise it loads from cache.

Not sure why it's throwing an error for you though, that's a bit weird.
It's returning false for an odd reason.
Title: Re: Fatal error: Unsupported operand types in Load.php
Post by: Arantor on April 9th, 2012, 01:50 PM
Is this still happening? I cannot reproduce it on my system, not even with different cache systems being used.