[Tickets #14289] Horde-Weather-Service: Cannot use object of type stdClass as array

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Mar 15 05:10:29 UTC 2016


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/14289
------------------------------------------------------------------------------
  Ticket           | 14289
  Erstellt Von     | klaus at tachtler.net
  Zusammenfassung  | Horde-Weather-Service: Cannot use object of type stdClass
                   | as array
  Warteschlange    | Horde Framework Packages
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


klaus at tachtler.net (2016-03-15 05:10) hat geschrieben:

Hi,

OS: CentOS 6.7
PHP 5.3.3 (cli) (built: Feb  9 2016 10:36:17)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

after login to the Horde, following erroro occurs:

ErrorException Object
(
     [message:protected] => Cannot use object of type stdClass as array
     [string:Exception:private] =>
     [code:protected] => 0
     [file:protected] => /usr/share/pear/Horde/Service/Weather/Wwo.php
     [line:protected] => 292
     [trace:Exception:private] => Array
         (
             [0] => Array
                 (
                     [function] => catchFatalError
                     [class] => Horde_ErrorHandler
                     [type] => ::
                     [args] => Array
                         (
                         )

                 )

         )

     [previous:Exception:private] =>
     [severity:protected] => 1
     [logged] => 1
)

Temporary help, was comment out the following lines in
--> /usr/share/pear/Horde/Service/Weather/Wwo.php

--- line ---

         //if (isset($station->timezone)) {
         //    $properties['tz'] = $station->timezone[0]->offset;
         //}

--- line ---

Thank you for your help!
Klaus.





More information about the bugs mailing list