[horde] Browser.php non-object error

Jan Schneider jan at horde.org
Wed Sep 19 18:42:10 UTC 2012


Zitat von JP Edwards <jpedwardspost at yahoo.co.uk>:

> Hi,
>
> Horde Horde (horde) 3.3.10
> Mail Mail (imp) H3 (4.3.9)
>
> In var/log/apache2/error.log I've been getting errors to do with a  
> "non-object" in /usr/share/psa-horde/lib/Horde/Browser.php'
>
> A typical error line looks like:
>
> [Tue Sep 18 07:23:55 2012] [error] [client nn.nnn.nnn.nnn] PHP  
> Notice:  Trying to get property of non-object in  
> /usr/share/psa-horde/lib/Horde/Browser.php on line 318, referer:  
> http://webmail.mysite.co.uk/login.php
>
> Same error also piling up for other lines in Browser.php e.g. 341 &  
> 342, 754 & 756.
>
> e.g.
>
> line 318:  $this->_lowerAgent = String::lower($this->_agent);
>
> line 341:line $agent = $this->_agent;
> line 342: line $lowerAgent = $this->_lowerAgent;
>
> line 754:  if (strpos($this->_lowerAgent, 'wind') !== false) {
>             $this->_platform = 'win';
> line 756:  } elseif (strpos($this->_lowerAgent, 'mac') !== false) {
>
> Any ideas on how to fix this?

Upgrade to a supported version. Or at least to the latest H3 versions.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list