ErrorException [ Warning ]: Attempt to read property "uptime" on bool

APPPATH/classes/Model/Uptime.php [ 67 ]

62             return false;
63         }
64         curl_close($curl);
65 
66         $xml = simplexml_load_string($xml);
67         foreach ($xml->uptime as $uptime)
68         {
69             if (!isset($tmp['rep']) || $uptime['reported'] > $tmp['rep'])
70             {
71                 $tmp['rep'] = (int)$uptime['reported'];
72                 $tmp['up'] = (int)$uptime['uptime'];
  1. APPPATH/classes/Model/Uptime.php [ 67 ] » Kohana_Core::error_handler()

  2. APPPATH/classes/Model/Uptime.php [ 28 ] » Model_Uptime->update()

  3. APPPATH/classes/Controller/Vis.php [ 26 ] » Model_Uptime->__construct()

  4. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Vis->action_uptime()

  5. {PHP internal call} » Kohana_Controller->execute()

  6. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke()

  7. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request()

  8. SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute()

  9. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment