RoundCube error: Call to undefined method rcube_imap::get_mailbox_name()

Created:

2016-11-16 12:49:05 UTC

Modified:

2017-04-24 11:22:46 UTC

1

Was this article helpful?


Have more questions?

Submit a request

RoundCube error: Call to undefined method rcube_imap::get_mailbox_name()

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

  • Internal Server Error appears after login to RoundCube webmail. It is possible to compose a new email, but other menus are not functional:

    Internal Server Error
  • RoundCube version is 1.2:

    # rpm -qa | grep roundcube
    plesk-roundcube-1.2.1-cos6.build1205160809.16.noarch
  • The following entries are found in /var/log/plesk-roundcube/errors :

    PHP Deprecated:  Non-static method Auth_SASL::factory() should not be called statically, assuming $this from incompatible context in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 578
    PHP Fatal error: Call to undefined method rcube_imap::get_mailbox_name() in /usr/share/psa-roundcube/plugins/filters/filters.php on line 36

    OR

    PHP Deprecated:  Non-static method Auth_SASL::factory() should not be called statically, assuming $this from incompatible context in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 578
    PHP Fatal error: Call to undefined method rcube_imap::get_mailbox_name() in /usr/share/psa-roundcube/plugins/moveseenmsg/moveseenmsg.php on line 32

Cause

Plugin is incompatible with RoundCube 1.2

Resolution

  1. Check the error and find the path to a plugin's *.php file. For example, it can be /usr/share/psa-roundcube/plugins/filters/filters.php .

  2. Open /usr/share/psa-roundcube/plugins/filters/filters.php file in a text editor:

    # vi /usr/share/psa-roundcube/plugins/filters/filters.php
  3. Replace get_mailbox_name() with get_folder() .

Have more questions? Submit a request
Please sign in to leave a comment.