Project

General

Profile

NotifierHook logger error?

Added by Joe Kearney over 13 years ago

I've got a problem where if I attempt to update a ticket with any information I get a 500 internal server error. I actually do get email notifications about the updates but nothing beyond that. Any help appreciated!

The environment:

# RAILS_ENV=production script/about
/www/corp/redmine-1.0/lib/redmine/scm/adapters/subversion_adapter.rb:27: warning: already initialized constant SVN_BIN
About your application's environment
Ruby version              1.8.7 (x86_64-linux)
RubyGems version          1.3.5
Rack version              1.0
Rails version             2.3.5
Active Record version     2.3.5
Active Resource version   2.3.5
Action Mailer version     2.3.5
Active Support version    2.3.5
Application root          /www/corp/redmine-1.0
Environment               production
Database adapter          mysql
Database schema version   20100705164950

About your Redmine plugins
Markdown Extra formatter                0.0.5
Redmine Newissuealerts plugin           0.0.2
Redmine Campfire Notifications plugin   0.0.2
Bulk Time Entry                         0.5.0
Timesheet Plugin                        0.6.0
Redmine Github Hook plugin              0.1.1
Redmine Time Display plugin             0.1.1
Redmine Whining plugin                  0.0.3
Thumbnails plugin                       0.2.0
Remove Membership                       0.1.0
Redmine Gitrevision Download plugin     0.0.6
SCM extensions plugin                   0.0.2
Redmine Graphs plugin                   0.1.0
Redmine Simple Support                  0.1.1
Redmine Hoptoad Server plugin           0.0.1
Redmine Charts                          0.1.0
Messenger Plugin                        0.0.9
Redmine Schedules plugin                0.4.2

The problem:

NameError (undefined local variable or method `logger' for #<NotifierHook:0x215e26c8>):
  lib/redmine/hook.rb:63:in `send'
  lib/redmine/hook.rb:63:in `call_hook'
  lib/redmine/hook.rb:63:in `each'
  lib/redmine/hook.rb:63:in `call_hook'
  lib/redmine/hook.rb:60:in `call_hook'
  app/models/issue.rb:507:in `save_issue_with_child_records'
  app/models/issue.rb:487:in `save_issue_with_child_records'
  app/controllers/issues_controller.rb:181:in `update'
  passenger (2.2.11) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
  passenger (2.2.11) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'
  passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
  passenger (2.2.11) lib/phusion_passenger/utils.rb:184:in `safe_fork'
  passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
  passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
  passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
  passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:163:in `start'
  passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
  passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
  passenger (2.2.11) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
  passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
  passenger (2.2.11) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
  passenger (2.2.11) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
  passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
  passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
  passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
  passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
  passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

Rendering /www/corp/redmine-1.0/public/500.html (500 Internal Server Error)

Replies (1)

RE: NotifierHook logger error? - Added by Felix Schäfer over 13 years ago

Find which plugin the NotifierHook comes from, that's what's causing you the error.

    (1-1/1)