[imp] PHP ERROR: Non-static method xxx should not be called statically, assuming $this from incompatible context

Eric Van Bocxlaer evb at ping.be
Sun Dec 9 10:58:07 UTC 2012


In an attempt to find the problem of the "loading" for ever in imp, I started 
a new logfile in horde and activated the debug logging.
I see plenty of following errors when starting a new horde session:

2012-12-09T11:31:35+01:00 DEBUG: HORDE [imp] PHP ERROR: Non-static method 
System::tmpdir() should not be called statically, assuming $this from 
incompatible context [pid 11248 on line 158 of "C:\php\pear\PEAR\Config.php"]
2012-12-09T11:31:35+01:00 DEBUG: HORDE  1. Horde_Registry::appInit() 
C:\Apache24\htdocs\webmail\imp\index.php:18
 2. Horde_Registry->pushApp() C:\php\pear\Horde\Registry.php:249
 3. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Registry.php:1558
 4. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:45
 5. Horde_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:48
 6. Horde_LoginTasks_Task_AdminCheck->execute() 
C:\php\pear\Horde\LoginTasks.php:211
 7. Horde_Core_Db_Migration->__construct() C:\Apache24
\htdocs\webmail\lib\LoginTasks\Task\AdminCheck.php:61
 8. spl_autoload_call() C:\php\pear\Horde\Core\Db\Migration.php:68
 9. Horde_Autoloader->loadClass()
10. Horde_Autoloader->_include() C:\php\pear\Horde\Autoloader.php:21
11. include() C:\php\pear\Horde\Autoloader.php:76
12. Horde_ErrorHandler::errorHandler() C:\php\pear\PEAR\Config.php:158

2012-12-09T11:31:35+01:00 DEBUG: HORDE [imp] PHP ERROR: Non-static method 
System::tmpdir() should not be called statically, assuming $this from 
incompatible context [pid 11248 on line 167 of "C:\php\pear\PEAR\Config.php"]
2012-12-09T11:31:35+01:00 DEBUG: HORDE  1. Horde_Registry::appInit() 
C:\Apache24\htdocs\webmail\imp\index.php:18
 2. Horde_Registry->pushApp() C:\php\pear\Horde\Registry.php:249
 3. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Registry.php:1558
 4. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:45
 5. Horde_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:48
 6. Horde_LoginTasks_Task_AdminCheck->execute() 
C:\php\pear\Horde\LoginTasks.php:211
 7. Horde_Core_Db_Migration->__construct() C:\Apache24
\htdocs\webmail\lib\LoginTasks\Task\AdminCheck.php:61
 8. spl_autoload_call() C:\php\pear\Horde\Core\Db\Migration.php:68
 9. Horde_Autoloader->loadClass()
10. Horde_Autoloader->_include() C:\php\pear\Horde\Autoloader.php:21
11. include() C:\php\pear\Horde\Autoloader.php:76
12. Horde_ErrorHandler::errorHandler() C:\php\pear\PEAR\Config.php:167

2012-12-09T11:31:35+01:00 DEBUG: HORDE [imp] PHP ERROR: Non-static method 
System::tmpdir() should not be called statically, assuming $this from 
incompatible context [pid 11248 on line 176 of "C:\php\pear\PEAR\Config.php"]
2012-12-09T11:31:35+01:00 DEBUG: HORDE  1. Horde_Registry::appInit() 
C:\Apache24\htdocs\webmail\imp\index.php:18
 2. Horde_Registry->pushApp() C:\php\pear\Horde\Registry.php:249
 3. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Registry.php:1558
 4. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:45
 5. Horde_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:48
 6. Horde_LoginTasks_Task_AdminCheck->execute() 
C:\php\pear\Horde\LoginTasks.php:211
 7. Horde_Core_Db_Migration->__construct() C:\Apache24
\htdocs\webmail\lib\LoginTasks\Task\AdminCheck.php:61
 8. spl_autoload_call() C:\php\pear\Horde\Core\Db\Migration.php:68
 9. Horde_Autoloader->loadClass()
10. Horde_Autoloader->_include() C:\php\pear\Horde\Autoloader.php:21
11. include() C:\php\pear\Horde\Autoloader.php:76
12. Horde_ErrorHandler::errorHandler() C:\php\pear\PEAR\Config.php:176

2012-12-09T11:31:35+01:00 DEBUG: HORDE [imp] PHP ERROR: Non-static method 
System::which() should not be called statically, assuming $this from 
incompatible context [pid 11248 on line 228 of "C:\php\pear\PEAR\Config.php"]
2012-12-09T11:31:35+01:00 DEBUG: HORDE  1. Horde_Registry::appInit() 
C:\Apache24\htdocs\webmail\imp\index.php:18
 2. Horde_Registry->pushApp() C:\php\pear\Horde\Registry.php:249
 3. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Registry.php:1558
 4. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:45
 5. Horde_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:48
 6. Horde_LoginTasks_Task_AdminCheck->execute() 
C:\php\pear\Horde\LoginTasks.php:211
 7. Horde_Core_Db_Migration->__construct() C:\Apache24
\htdocs\webmail\lib\LoginTasks\Task\AdminCheck.php:61
 8. spl_autoload_call() C:\php\pear\Horde\Core\Db\Migration.php:68
 9. Horde_Autoloader->loadClass()
10. Horde_Autoloader->_include() C:\php\pear\Horde\Autoloader.php:21
11. include() C:\php\pear\Horde\Autoloader.php:76
12. Horde_ErrorHandler::errorHandler() C:\php\pear\PEAR\Config.php:228

2012-12-09T11:31:35+01:00 DEBUG: HORDE [imp] PHP ERROR: Non-static method 
PEAR_Installer_Role::initializeConfig() should not be called statically, 
assuming $this from incompatible context [pid 11248 on line 599 
of "C:\php\pear\PEAR\Config.php"]
2012-12-09T11:31:35+01:00 DEBUG: HORDE 1. Horde_Registry::appInit() C:\Apache24
\htdocs\webmail\imp\index.php:18
2. Horde_Registry->pushApp() C:\php\pear\Horde\Registry.php:249
3. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Registry.php:1558
4. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:45
5. Horde_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:48
6. Horde_LoginTasks_Task_AdminCheck->execute() 
C:\php\pear\Horde\LoginTasks.php:211
7. Horde_Core_Db_Migration->__construct() C:\Apache24
\htdocs\webmail\lib\LoginTasks\Task\AdminCheck.php:61
8. PEAR_Config->PEAR_Config() C:\php\pear\Horde\Core\Db\Migration.php:68
9. Horde_ErrorHandler::errorHandler() C:\php\pear\PEAR\Config.php:599

2012-12-09T11:31:35+01:00 DEBUG: HORDE [imp] PHP ERROR: Non-static method 
PEAR_Installer_Role::registerRoles() should not be called statically, assuming 
$this from incompatible context [pid 11248 on line 45 
of "C:\php\pear\PEAR\Installer\Role.php"]
2012-12-09T11:31:35+01:00 DEBUG: HORDE  1. Horde_Registry::appInit() 
C:\Apache24\htdocs\webmail\imp\index.php:18
 2. Horde_Registry->pushApp() C:\php\pear\Horde\Registry.php:249
 3. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Registry.php:1558
 4. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:45
 5. Horde_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:48
 6. Horde_LoginTasks_Task_AdminCheck->execute() 
C:\php\pear\Horde\LoginTasks.php:211
 7. Horde_Core_Db_Migration->__construct() C:\Apache24
\htdocs\webmail\lib\LoginTasks\Task\AdminCheck.php:61
 8. PEAR_Config->PEAR_Config() C:\php\pear\Horde\Core\Db\Migration.php:68
 9. PEAR_Installer_Role->initializeConfig() C:\php\pear\PEAR\Config.php:599
10. Horde_ErrorHandler::errorHandler() C:\php\pear\PEAR\Installer\Role.php:45

2012-12-09T11:31:35+01:00 DEBUG: HORDE [imp] PHP ERROR: Non-static method 
PEAR_Installer_Role::getBaseinstallRoles() should not be called statically, 
assuming $this from incompatible context [pid 11248 on line 270 
of "C:\php\pear\PEAR\Installer\Role.php"]
2012-12-09T11:31:35+01:00 DEBUG: HORDE  1. Horde_Registry::appInit() 
C:\Apache24\htdocs\webmail\imp\index.php:18
 2. Horde_Registry->pushApp() C:\php\pear\Horde\Registry.php:249
 3. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Registry.php:1558
 4. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:45
 5. Horde_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:48
 6. Horde_LoginTasks_Task_AdminCheck->execute() 
C:\php\pear\Horde\LoginTasks.php:211
 7. Horde_Core_Db_Migration->__construct() C:\Apache24
\htdocs\webmail\lib\LoginTasks\Task\AdminCheck.php:61
 8. PEAR_Config->PEAR_Config() C:\php\pear\Horde\Core\Db\Migration.php:68
 9. PEAR_Installer_Role->initializeConfig() C:\php\pear\PEAR\Config.php:599
10. PEAR_Installer_Role->registerRoles() C:\php\pear\PEAR\Installer\Role.php:45
11. Horde_ErrorHandler::errorHandler() C:\php\pear\PEAR\Installer\Role.php:270

2012-12-09T11:31:35+01:00 DEBUG: HORDE [imp] PHP ERROR: Non-static method 
PEAR_Installer_Role::getInstallableRoles() should not be called statically, 
assuming $this from incompatible context [pid 11248 on line 271 
of "C:\php\pear\PEAR\Installer\Role.php"]
2012-12-09T11:31:35+01:00 DEBUG: HORDE  1. Horde_Registry::appInit() 
C:\Apache24\htdocs\webmail\imp\index.php:18
 2. Horde_Registry->pushApp() C:\php\pear\Horde\Registry.php:249
 3. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Registry.php:1558
 4. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:45
 5. Horde_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:48
 6. Horde_LoginTasks_Task_AdminCheck->execute() 
C:\php\pear\Horde\LoginTasks.php:211
 7. Horde_Core_Db_Migration->__construct() C:\Apache24
\htdocs\webmail\lib\LoginTasks\Task\AdminCheck.php:61
 8. PEAR_Config->PEAR_Config() C:\php\pear\Horde\Core\Db\Migration.php:68
 9. PEAR_Installer_Role->initializeConfig() C:\php\pear\PEAR\Config.php:599
10. PEAR_Installer_Role->registerRoles() C:\php\pear\PEAR\Installer\Role.php:45
11. Horde_ErrorHandler::errorHandler() C:\php\pear\PEAR\Installer\Role.php:271

2012-12-09T11:31:35+01:00 DEBUG: HORDE [imp] PHP ERROR: Non-static method 
PEAR_Installer_Role::getPhpRoles() should not be called statically, assuming 
$this from incompatible context [pid 11248 on line 272 
of "C:\php\pear\PEAR\Installer\Role.php"]
2012-12-09T11:31:35+01:00 DEBUG: HORDE  1. Horde_Registry::appInit() 
C:\Apache24\htdocs\webmail\imp\index.php:18
 2. Horde_Registry->pushApp() C:\php\pear\Horde\Registry.php:249
 3. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Registry.php:1558
 4. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:45
 5. Horde_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:48
 6. Horde_LoginTasks_Task_AdminCheck->execute() 
C:\php\pear\Horde\LoginTasks.php:211
 7. Horde_Core_Db_Migration->__construct() C:\Apache24
\htdocs\webmail\lib\LoginTasks\Task\AdminCheck.php:61
 8. PEAR_Config->PEAR_Config() C:\php\pear\Horde\Core\Db\Migration.php:68
 9. PEAR_Installer_Role->initializeConfig() C:\php\pear\PEAR\Config.php:599
10. PEAR_Installer_Role->registerRoles() C:\php\pear\PEAR\Installer\Role.php:45
11. Horde_ErrorHandler::errorHandler() C:\php\pear\PEAR\Installer\Role.php:272

2012-12-09T11:31:35+01:00 DEBUG: HORDE [imp] PHP ERROR: Non-static method 
PEAR_Installer_Role::getValidRoles() should not be called statically, assuming 
$this from incompatible context [pid 11248 on line 273 
of "C:\php\pear\PEAR\Installer\Role.php"]
2012-12-09T11:31:35+01:00 DEBUG: HORDE  1. Horde_Registry::appInit() 
C:\Apache24\htdocs\webmail\imp\index.php:18
 2. Horde_Registry->pushApp() C:\php\pear\Horde\Registry.php:249
 3. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Registry.php:1558
 4. Horde_Core_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:45
 5. Horde_LoginTasks->runTasks() C:\php\pear\Horde\Core\LoginTasks.php:48
 6. Horde_LoginTasks_Task_AdminCheck->execute() 
C:\php\pear\Horde\LoginTasks.php:211
 7. Horde_Core_Db_Migration->__construct() C:\Apache24
\htdocs\webmail\lib\LoginTasks\Task\AdminCheck.php:61
 8. PEAR_Config->PEAR_Config() C:\php\pear\Horde\Core\Db\Migration.php:68
 9. PEAR_Installer_Role->initializeConfig() C:\php\pear\PEAR\Config.php:599
10. PEAR_Installer_Role->registerRoles() C:\php\pear\PEAR\Installer\Role.php:45
11. Horde_ErrorHandler::errorHandler() C:\php\pear\PEAR\Installer\Role.php:273

What is the meaning of these errors?

Apache/2.4.3 (Win32)
PHP/5.4.4




More information about the imp mailing list