1

Topic: php-pear error?

==== Required information ====
- iRedMail version: 0.9.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Debian 8
- Related log if you're reporting an issue: /var/log/mail.log
====

After updating to 0.9.2 last night, I started getting this error in mail.log, which appears to be for Roundcube and php-pear-related:

Jun  4 15:38:37 mail roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on line 263
Jun  4 15:38:37 mail roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on line 1057
Jun  4 15:38:37 mail roundcube: PHP Deprecated:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /opt/www/roundcubemail-1.1.1/vendor/pear/net_smtp/Net/SMTP.php on line 1117

Any clue as to what is going on here, anyone? I only noticed this after after upgrading to 0.9.2.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: php-pear error?

Roundcube 1.1.1 ships some php libs, and Net/SMTP requires newer PHP release.
It's a warning, not an error.

3

Re: php-pear error?

ZhangHuangbin wrote:

Roundcube 1.1.1 ships some php libs, and Net/SMTP requires newer PHP release.
It's a warning, not an error.

I'm running the latest version of php as far as the Debian repositories go. Is there something that I should change in order for it to not throw a warning like that? Is it serious, or just something that I should just ignore?

4

Re: php-pear error?

You could change your level of error reporting in your php.ini
or you could just ignore it, either does the same

5

Re: php-pear error?

Thanks guys! I appreciate the help! I'm glad it's nothing to worry about.