6.0.0-alpha14
6/30/25

[#9802] IMP_Imap: Invalid method call "queryCapability"
Summary IMP_Imap: Invalid method call "queryCapability"
Queue IMP
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester michael.groene (at) zel (dot) uni-hannover (dot) de
Created 04/04/2011 (5201 days ago)
Due
Updated 09/27/2012 (4659 days ago)
Assigned
Resolved 04/15/2011 (5190 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/27/2012 07:57:09 AM jhon (dot) higgins (at) gmail (dot) com Comment #6 Reply to this comment
Hello,
this happen to me when i created the file backends.local.php and i do 
not start the file with "<php"
  i do not know if this was your problem.
I use horde4.
Bye
06/15/2011 03:26:57 PM privat (at) wolfgang-andreas (dot) de Comment #5 Reply to this comment
Hi,

got the same message with method "listMailboxes".

Try to clear your local browser's cache. This worked for me.

Best regards,
Wolfgang
04/15/2011 05:19:24 AM Michael Slusarz Comment #4
State ⇒ Not A Bug
Version ⇒ Git master
Reply to this comment
Still not seeing.  Unless/until someone can reliably reproduce, am 
going to close this.
04/05/2011 08:10:08 AM rsalmon (at) mbpgroup (dot) com Comment #3 Reply to this comment
I'm seeing this as well, but I haven't found a way yet to reproduce.
04/05/2011 04:27:48 AM Michael Slusarz Comment #2
Priority ⇒ 1. Low
Reply to this comment
I was able to reproduce once earlier today.  But I can no longer 
reproduce, even after logging in/out multiple times.  So I will leave 
open for a bit longer, but unless I (or someone else) can reliably 
reproduce, will close the ticket as fixed.
04/04/2011 03:27:28 PM michael (dot) groene (at) zel (dot) uni-hannover (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ IMP_Imap: Invalid method call "queryCapability"
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Usually works, but just after logging out, and directly logging in 
again, I got this error (see below). When hitting F5, the page becomes 
blank. An error occured in php's log, too:
[04-Apr-2011 17:11:31] PHP Fatal error:  Call to a member function 
getCache() on a non-object in 
/var/www/horde4/imp/lib/LoginTasks/SystemTask/UpgradeAuth.php on line 51
[04-Apr-2011 17:12:17] PHP Fatal error:  Call to a member function 
getNamespaces() on a non-object in /var/www/horde4/imp/lib/Imap.php on 
line 263
Whereupon the last error repeates as often as I hit F5.
In another browser (means another session) everything works fine, at 
the same time.

Ein schwerer Fehler ist aufgetreten:
IMP_Imap: Invalid method call "queryCapability".
  1. Horde_Core_Auth_Application->authenticate() /var/www/horde4/login.php:151
  2. Horde_Auth_Base->authenticate() 
/usr/share/php/Horde/Core/Auth/Application.php:128
  3. Horde_Auth_Composite->_authenticate() 
/usr/share/php/Horde/Auth/Base.php:110
  4. Horde_Core_Auth_Application->authenticate() 
/usr/share/php/Horde/Auth/Composite.php:50
  5. Horde_Core_Auth_Application->_setAuth() 
/usr/share/php/Horde/Core/Auth/Application.php:140
  6. Horde_Registry->callAppMethod() 
/usr/share/php/Horde/Core/Auth/Application.php:593
  7. call_user_func_array() /usr/share/php/Horde/Registry.php:1059
  8. IMP_Application->authAuthenticateCallback()
  9. IMP_Auth::authenticateCallback() 
/var/www/horde4/imp/lib/Application.php:423
10. IMP_Imap->queryCapability() /var/www/horde4/imp/lib/Auth.php:411
11. IMP_Imap->__call()
Details
Die vollständige Fehlermeldung wurde in Hordes Logdatei geschrieben 
und für Administratoren weiter unten ausgegeben. Benutzer, die keine 
Administratoren sind, bekommen diese Details nicht zu sehen.
BadMethodCallException Object
(
     [message:protected] => IMP_Imap: Invalid method call "queryCapability".
     [string:Exception:private] =>
     [code:protected] => 0
     [file:protected] => /var/www/horde4/imp/lib/Imap.php
     [line:protected] => 370
     [trace:Exception:private] => Array
         (
             [0] => Array
                 (
                     [function] => __call
                     [class] => IMP_Imap
                     [type] => ->
                     [args] => Array
                         (
                             [0] => queryCapability
                             [1] => Array
                                 (
                                     [0] => THREAD
                                 )

                         )

                 )

             [1] => Array
                 (
                     [file] => /var/www/horde4/imp/lib/Auth.php
                     [line] => 411
                     [function] => queryCapability
                     [class] => IMP_Imap
                     [type] => ->
                     [args] => Array
                         (
                             [0] => THREAD
                         )

                 )

             [2] => Array
                 (
                     [file] => /var/www/horde4/imp/lib/Application.php
                     [line] => 423
                     [function] => authenticateCallback
                     [class] => IMP_Auth
                     [type] => ::
                     [args] => Array
                         (
                         )

                 )

             [3] => Array
                 (
                     [function] => authAuthenticateCallback
                     [class] => IMP_Application
                     [type] => ->
                     [args] => Array
                         (
                         )

                 )

             [4] => Array
                 (
                     [file] => /usr/share/php/Horde/Registry.php
                     [line] => 1059
                     [function] => call_user_func_array
                     [args] => Array
                         (
                             [0] => Array
                                 (
                                     [0] => IMP_Application Object
                                         (
                                             [ajaxView] => 1
                                             [auth] => Array
                                                 (
                                                     [1] => authenticate
                                                     [4] => transparent
                                                 )

                                             [mobileView] => 1
                                             [version] => H4 (5.0-RC2)
                                             [_cacheSess:protected] => Array
                                                 (
                                                 )

                                             [_oldserver:protected] =>
                                             [initParams] => Array
                                                 (
                                                 )

                                             [_initDone:protected] => 1
                                         )

                                     [1] => authAuthenticateCallback
                                 )

                             [1] => Array
                                 (
                                 )

                         )

                 )

             [5] => Array
                 (
                     [file] => /usr/share/php/Horde/Core/Auth/Application.php
                     [line] => 593
                     [function] => callAppMethod
                     [class] => Horde_Registry
                     [type] => ->
                     [args] => Array
                         (
                             [0] => imp
                             [1] => authAuthenticateCallback
                             [2] => Array
                                 (
                                     [noperms] => 1
                                 )

                         )

                 )

             [6] => Array
                 (
                     [file] => /usr/share/php/Horde/Core/Auth/Application.php
                     [line] => 140
                     [function] => _setAuth
                     [class] => Horde_Core_Auth_Application
                     [type] => ->
                     [args] => Array
                         (
                         )

                 )

             [7] => Array
                 (
                     [file] => /usr/share/php/Horde/Auth/Composite.php
                     [line] => 50
                     [function] => authenticate
                     [class] => Horde_Core_Auth_Application
                     [type] => ->
                     [args] => Array
                         (
                             [0] => michael.groene@domain
                             [1] => Array
                                 (
                                     [password] => password
                                     [mode] => auto
                                     [imp_server_key] => imap
                                 )

                         )

                 )

             [8] => Array
                 (
                     [file] => /usr/share/php/Horde/Auth/Base.php
                     [line] => 110
                     [function] => _authenticate
                     [class] => Horde_Auth_Composite
                     [type] => ->
                     [args] => Array
                         (
                             [0] => michael.groene@domain
                             [1] => Array
                                 (
                                     [password] => password
                                     [mode] => auto
                                     [imp_server_key] => imap
                                 )

                         )

                 )

             [9] => Array
                 (
                     [file] => /usr/share/php/Horde/Core/Auth/Application.php
                     [line] => 128
                     [function] => authenticate
                     [class] => Horde_Auth_Base
                     [type] => ->
                     [args] => Array
                         (
                             [0] => michael.groene@domain
                             [1] => Array
                                 (
                                     [password] => password
                                     [mode] => auto
                                     [imp_server_key] => imap
                                 )

                             [2] => 1
                         )

                 )

             [10] => Array
                 (
                     [file] => /var/www/horde4/login.php
                     [line] => 151
                     [function] => authenticate
                     [class] => Horde_Core_Auth_Application
                     [type] => ->
                     [args] => Array
                         (
                             [0] => michael.groene@domain
                             [1] => Array
                                 (
                                     [password] => password
                                     [mode] => auto
                                     [imp_server_key] => imap
                                 )

                         )

                 )

         )

     [previous:Exception:private] =>
)

Saved Queries