eagle00789 / RC_Filters

Roundcube Clientside Filter
GNU General Public License v3.0
5 stars 5 forks source link

Error in RC 1.2 (beta) #13

Open OsoTranquilo opened 8 years ago

OsoTranquilo commented 8 years ago

I use filters on my Roundcube facilities, and when trying to install the plugin in the new 1.2 beta version, this error appears.

PHP Fatal error: Call to undefined method rcmail::imap_connect() in /home/.../roundcube/plugins/filters/filters.php on line 169

And It produces a 500 error to the user.

radiomix commented 8 years ago

I get the same issue on roundcube-1.2-beta with plugin pop3fetcher:

 Call to undefined method rcmail::imap_connect() in /var/www/roundcubemail-1.2-beta/plugins/pop3fetcher/pop3fetcher.php on line 121
iotaka commented 8 years ago

Hi,

I find a solution for another plugin. In 1.1 the function was deprecated. And in 1.2 they removed it. public function imap_connect() { return $this->storage_connect(); }

so if you call storage_connect() instead of imap_connect() is all fine.