This topic was marked solved by Arantor, on February 19th, 2013, 11:59 PM
Fatal error: Unsupported operand types in Load.php

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Fatal error: Unsupported operand types in Load.php
« 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
The way it's meant to be

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Fatal error: Unsupported operand types in Load.php
« Reply #2, 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.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Fatal error: Unsupported operand types in Load.php
« Reply #3, 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.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278