Ce sujet a été marqué résolu par Arantor, le 19 Février 2013 à 23:59
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.
  • Messages: 1 841
Fatal error: Unsupported operand types in Load.php
« le 20 Mars 2012 à 15:32 »
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: [Sélectionner]
$user_info += $temp
Whereas $temp is false. In the above "if" the comparison is being made as
Code: [Sélectionner]
if ($temp === null...
which seems to be wrong
The way it's meant to be

Arantor

  • As powerful as possible, as complex as necessary.
  • Messages: 14 278
Re: Fatal error: Unsupported operand types in Load.php
« Réponse #2, le 20 Mars 2012 à 15:35 »
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.
  • Messages: 1 841
Re: Fatal error: Unsupported operand types in Load.php
« Réponse #3, le 20 Mars 2012 à 15:36 »
Citation de Arantor le 20 Mars 2012 à 15:35
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.
  • Messages: 14 278