Project

General

Profile

when i click new user , i have error (redmine 2.5.0)

Added by orxan semedov over 7 years ago

hi ,

i have installed redmine 2.5.0 (centos 6.8), and when i click my account or new user , i have an error . and i see my log files /

Started GET "/users/new" for 192.168.1.111 at 2016-09-27 22:23:06 -0700
Processing by UsersController#new as HTML
Current user: admin (id=1)
Rendered users/_mail_notifications.html.erb (2.4ms)
Rendered users/_form.html.erb (8.3ms)
Rendered users/new.html.erb within layouts/admin (10.0ms)
Completed 500 Internal Server Error in 20.7ms

ActionView::Template::Error (undefined method `name' for nil:NilClass):
8: ) >
9: </p>
10: <
= content_tag 'div', :id => 'notified-projects', :style => (@user.mail_notification == 'selected' ? '' : 'display:none;') do >
11: <
= render_project_nested_lists(@user.projects) do |project|
12: content_tag('label',
13: check_box_tag(
14: 'user[notified_project_ids][]',
app/helpers/application_helper.rb:258:in `render_project_nested_lists'
app/views/users/_mail_notifications.html.erb:11:in `block in app_views_users_mail_notifications_html_erb___2706425498539097795_69994313863600'
app/views/users/_mail_notifications.html.erb:10:in `_app_views_users__mail_notifications_html_erb___2706425498539097795_69994313863600'
app/views/users/_form.html.erb:45:in `_app_views_users__form_html_erb___2722257369538890582_69994313498880'
app/views/users/new.html.erb:4:in `block in app_views_users_new_html_erb__1744520940291202949_37860280'
app/helpers/application_helper.rb:1041:in `labelled_form_for'
app/views/users/new.html.erb:3:in `_app_views_users_new_html_erb___1744520940291202949_37860280'


i dont know , what is a problem . please help me .