6.0.0-beta1
7/14/25

[#9488] Kronolith fails: getInstance() on a non-object
Summary Kronolith fails: getInstance() on a non-object
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester d-fens (at) 00010111 (dot) de
Created 01/04/2011 (5305 days ago)
Due
Updated 01/20/2011 (5289 days ago)
Assigned 01/04/2011 (5305 days ago)
Resolved 01/20/2011 (5289 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/20/2011 05:04:26 AM Michael Slusarz Comment #10
State ⇒ Resolved
Reply to this comment
Chuck's commit fixes this:

commit 8e17ebfd44c310c8f4f9a0acfe8407ef15fe077c
Author: Chuck Hagenbuch <chuck@horde.org>
Date:   Fri Jan 14 23:29:49 2011 -0500

     Check for $GLOBALS['conf'] AND $GLOBALS['injector']
01/14/2011 07:25:08 PM Michael Slusarz Comment #9 Reply to this comment
Try running bin/check_logger to see if your logger backend is 
correctly configured.
01/14/2011 07:24:40 PM Git Commit Comment #8 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9488: Report logger failures
Logger failure will be reported to an admin on login.  Alternatively,
the bin/check_logger script can be run.

  create mode 100755 horde/bin/check_logger
http://git.horde.org/horde-git/-/commit/f25df9ed011a22d85ca50487d58339ad69faf7ec
01/14/2011 06:44:00 PM Michael Slusarz Comment #7 Reply to this comment
fixed this with a is_object() check for me
An is_object() call on what?

This is related to:
http://lists.horde.org/archives/dev/Week-of-Mon-20110110/025621.html

But your problem doesn't make any sense.  By the time kronolith is 
being initialized, the injector and logger should both be available.   
Unless your logger configuration is completely broken.
01/14/2011 02:15:07 AM d-fens (at) 00010111 (dot) de Comment #6 Reply to this comment
fixed this with a is_object() check for me
01/04/2011 05:22:23 PM d-fens (at) 00010111 (dot) de Comment #5 Reply to this comment
hope this helps, feel free to ask for any additional stuff


#0  Horde::logMessage(Load config file (conf.php; app: kronolith), 
DEBUG) called at 
[/var/www/_horde/horde/framework/Core/lib/Horde.php:776]
#1  Horde::loadConfiguration(conf.php, conf, kronolith) called at 
[/var/www/_horde/horde/framework/Core/lib/Horde/Registry.php:1372]
#2  Horde_Registry->importConfig(kronolith) called at 
[/var/www/_horde/horde/framework/Core/lib/Horde/Registry.php:1257]
#3  Horde_Registry->pushApp(kronolith, Array ([check_perms] => 
1,[logintasks] => 1,[notransparent] => )) called at 
[/var/www/_horde/horde/framework/Core/lib/Horde/Registry.php:231]
#4  Horde_Registry::appInit(kronolith) called at 
[/var/www/_horde/horde/kronolith/index.php:10]
#0  Horde::logMessage(Load config file (hooks.php; app: kronolith), 
DEBUG) called at 
[/var/www/_horde/horde/framework/Core/lib/Horde.php:776]
#1  Horde::loadConfiguration(hooks.php, , kronolith) called at 
[/var/www/_horde/horde/framework/Core/lib/Horde.php:1727]
#2  Horde::hookExists(pushapp, kronolith) called at 
[/var/www/_horde/horde/framework/Core/lib/Horde.php:1693]
#3  Horde::callHook(pushapp, Array (), kronolith) called at 
[/var/www/_horde/horde/framework/Core/lib/Horde/Registry.php:1262]
#4  Horde_Registry->pushApp(kronolith, Array ([check_perms] => 
1,[logintasks] => 1,[notransparent] => )) called at 
[/var/www/_horde/horde/framework/Core/lib/Horde/Registry.php:231]
#5  Horde_Registry::appInit(kronolith) called at 
[/var/www/_horde/horde/kronolith/index.php:10]

01/04/2011 04:22:25 PM Jan Schneider Comment #4 Reply to this comment
I don't see this. Try to get a backtrace.
01/04/2011 04:18:06 PM d-fens (at) 00010111 (dot) de Comment #3 Reply to this comment
Just starting kronolith
01/04/2011 04:15:47 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Doing what?
01/04/2011 03:35:05 PM d-fens (at) 00010111 (dot) de Comment #1
Milestone ⇒
State ⇒ Unconfirmed
Patch ⇒ No
Queue ⇒ Horde Framework Packages
Summary ⇒ Kronolith fails: getInstance() on a non-object
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
hi,

i have following fatal error:

PHP Fatal error:  Call to a member function getInstance() on a 
non-object in /var/www/_horde/horde/framework/Core/lib/Horde.php on 
line 93


Saved Queries