Summary | Horde-Weather-Service: Cannot use object of type stdClass as array |
Queue | Horde Framework Packages |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | klaus (at) tachtler (dot) net |
Created | 03/15/2016 (3451 days ago) |
Due | |
Updated | 03/16/2016 (3450 days ago) |
Assigned | 03/15/2016 (3451 days ago) |
Resolved | 03/16/2016 (3450 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 88385c40ac8ed9e4ab16116c484018928dd1ed83
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed Mar 16 08:52:51 2016 -0400
Bug: 14289Fix accessing timezone offset in WWO..../lib/Horde/Service/Weather/Wwo.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/88385c40ac8ed9e4ab16116c484018928dd1ed83
Assigned to Michael Rubinsky
State ⇒ Assigned
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Horde-Weather-Service: Cannot use object of type stdClass as array
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
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.