Ajax Error 500 undefined method `column_alias_for' on Self Hosted Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023
02:22 PM
Hello, this is my first question, Im trying this awesome LMS on lms.robotschool.co, but im getting this error at moment of list users as administrator:
Error de Ajax: 500
{"errors":[{"message":"An error occurred.","error_code":"internal_server_error"}],"error_report_id":"1992"}
#1999 undefined method `column_alias_for' for #<Enrollment::ActiveRecord_Relation:0x00005586473e53a0> Did you mean? column_name_for
cuenta: ROBOTSCHOOL
categoría: NoMethodError
creado a las: 2023-06-06 14:05:08 -0600
usuario: canvas@robotschool.co
solicitar identificación del contexto: 2e9f1db0-5604-4a5d-8f10-800f72d29218
Spoiler
HTTP_ACCEPT: application/json, text/javascript, application/json+canvas-string-ids, */*; q=0.01
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_HOST: lms.robotschool.co
HTTP_REFERER: http://lms.robotschool.co/accounts/1?
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
PATH_INFO: /api/v1/accounts/1/courses
QUERY_STRING: ?sort=sis_course_id&order=asc&search_by=course&include%5B%5D=total_students&include%5B%5D=active_teachers&include%5B%5D=subaccount&include%5B%5D=term&include%5B%5D=concluded&include%5B%5D=ui_invoked&teacher_limit=25&per_page=15&no_avatar_fallback=1
REMOTE_ADDR: 200.119.125.222
REQUEST_METHOD: GET
REQUEST_URI: http://lms.robotschool.co/api/v1/accounts/1/courses?sort=sis_course_id&order=asc&search_by=course&in...
SERVER_NAME: lms.robotschool.co
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
format: application/json
hostname: lms
meta_headers: o=accounts;n=courses_api;t=Account;i=1;
path_parameters: {:format=>"json", :controller=>"accounts", :action=>"courses_api", :account_id=>"1"}
pid: 13002
query_parameters: {"sort"=>"sis_course_id", "order"=>"asc", "search_by"=>"course", "include"=>["total_students", "active_teachers", "subaccount", "term", "concluded", "ui_invoked"], "teacher_limit"=>"25", "per_page"=>"15", "no_avatar_fallback"=>"1"}
request_id: 2e9f1db0-5604-4a5d-8f10-800f72d29218
request_parameters: {}
response_code: 500
session_id: b5591de470b0420b65dae34d882b5f55
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_HOST: lms.robotschool.co
HTTP_REFERER: http://lms.robotschool.co/accounts/1?
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
PATH_INFO: /api/v1/accounts/1/courses
QUERY_STRING: ?sort=sis_course_id&order=asc&search_by=course&include%5B%5D=total_students&include%5B%5D=active_teachers&include%5B%5D=subaccount&include%5B%5D=term&include%5B%5D=concluded&include%5B%5D=ui_invoked&teacher_limit=25&per_page=15&no_avatar_fallback=1
REMOTE_ADDR: 200.119.125.222
REQUEST_METHOD: GET
REQUEST_URI: http://lms.robotschool.co/api/v1/accounts/1/courses?sort=sis_course_id&order=asc&search_by=course&in...
SERVER_NAME: lms.robotschool.co
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
format: application/json
hostname: lms
meta_headers: o=accounts;n=courses_api;t=Account;i=1;
path_parameters: {:format=>"json", :controller=>"accounts", :action=>"courses_api", :account_id=>"1"}
pid: 13002
query_parameters: {"sort"=>"sis_course_id", "order"=>"asc", "search_by"=>"course", "include"=>["total_students", "active_teachers", "subaccount", "term", "concluded", "ui_invoked"], "teacher_limit"=>"25", "per_page"=>"15", "no_avatar_fallback"=>"1"}
request_id: 2e9f1db0-5604-4a5d-8f10-800f72d29218
request_parameters: {}
response_code: 500
session_id: b5591de470b0420b65dae34d882b5f55
Could you help me please? i don't know how to solve this error 500 on a self hosted instance.
Thanks a lot!