• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Roundcube PHP Deprecated: Non-static method Auth_SASL

Antrax1

Basic Pleskian
Hi,

I have this error in logo file Roundcube:

[14-Nov-2016 20:49:08 Europe/Berlin] PHP Deprecated: Non-static method Auth_SASL::factory() should not be called statically in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 578

I see this solution to plesk 12.5 https://kb.plesk.com/en/129526 but i can´t find this directory in Onix /usr/share/psa-roundcube/plugins/filters/filters.php

Someone known the right directory?
 
Change this code in /usr/share/psa-roundcube/program/lib/Roundcube/bootstrap.php

Code:
'error_reporting'         => E_ALL & ~E_NOTICE & ~E_STRICT,
to
Code:
 'error_reporting'         => E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED,
 
Last edited:
This is definitely issue in roundcube - https://github.com/roundcube/roundcubemail/issues/5401 , and it is already fixed in 1.2.2.

Hi Antrax1,

actually, your "solution" is only a work-around and not a fix.


Plesk ( maybe @IgorG could try to involve a responsible Plesk-Team-Member to this thread ?!? ) should consider to change the pear package "Net_SMTP", according to : => https://github.com/pear/Net_SMTP/pull/29
In addition, "Auth_SASL" is not maintained anymore, why it is recommended to switch to "Auth_SASL2". ;)
 
Back
Top