[horde] Browser.php non-object error

JP Edwards jpedwardspost at yahoo.co.uk
Tue Sep 18 07:14:22 UTC 2012


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?

Thanks in advance for any suggestions.

Regards,

JP.

Horde Horde (horde) 3.3.10
Mail Mail (imp) H3 (4.3.9)


More information about the horde mailing list