Argument 1 of HTML_Select::loadArray is not a valid array Backtrace : Array ( [0] => Array ( [file] => /var/www/html/lib/pear/PEAR.php [line] => 545 [function] => __construct [class] => PEAR_Error [type] => -> [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array [1] => [2] => 16 [3] => pear_handle_error [4] => ) ) [1] => Array ( [file] => /var/www/html/lib/pear/HTML/Common.php [line] => 110 [function] => raiseError [class] => PEAR [object] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array [1] => [2] => 16 [3] => pear_handle_error [4] => [5] => [6] => ) ) [2] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 273 [function] => raiseError [class] => HTML_Common [type] => :: [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array ) ) [3] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 258 [function] => loadArrayOptions [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => 1 [1] => ) ) [4] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 235 [function] => addOptGroup [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => Grade items [1] => ) ) [5] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 78 [function] => loadArrayOptGroups [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) ) ) [6] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm/element.php [line] => 386 [function] => __construct [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => mapping_0 [1] => First name [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) ) [7] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 482 [function] => onQuickFormEvent [class] => HTML_QuickForm_element [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => createElement [1] => Array ( [0] => mapping_0 [1] => First name [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [8] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm/element.php [line] => 393 [function] => onQuickFormEvent [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => createElement [1] => Array ( [0] => mapping_0 [1] => First name [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [9] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 482 [function] => onQuickFormEvent [class] => HTML_QuickForm_element [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => addElement [1] => Array ( [0] => mapping_0 [1] => First name [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [10] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm.php [line] => 584 [function] => onQuickFormEvent [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => addElement [1] => Array ( [0] => mapping_0 [1] => First name [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [11] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm.php [line] => 614 [function] => _loadElement [class] => HTML_QuickForm [object] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [type] => -> [args] => Array ( [0] => addElement [1] => selectgroups [2] => Array ( [0] => mapping_0 [1] => First name [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) ) ) [12] => Array ( [file] => /var/www/html/grade/import/grade_import_form.php [line] => 142 [function] => addElement [class] => HTML_QuickForm [object] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [type] => -> [args] => Array ( [0] => selectgroups [1] => mapping_0 [2] => First name [3] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) ) ) [13] => Array ( [file] => /var/www/html/lib/formslib.php [line] => 214 [function] => definition [class] => grade_import_mapping_form [object] => grade_import_mapping_form Object ( [_formname:protected] => grade_import_mapping_form [_form:protected] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [_customdata:protected] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) [_ajaxformdata:protected] => [_definition_finalized:protected] => [_validated:protected] => ) [type] => -> [args] => Array ( ) ) [14] => Array ( [file] => /var/www/html/grade/import/csv/index.php [line] => 110 [function] => __construct [class] => moodleform [object] => grade_import_mapping_form Object ( [_formname:protected] => grade_import_mapping_form [_form:protected] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [_customdata:protected] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) [_ajaxformdata:protected] => [_definition_finalized:protected] => [_validated:protected] => ) [type] => -> [args] => Array ( [0] => http://localhost:8000/grade/import/csv/index.php [1] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) ) ) ) Argument 1 of HTML_Select::loadArray is not a valid array Backtrace : Array ( [0] => Array ( [file] => /var/www/html/lib/pear/PEAR.php [line] => 545 [function] => __construct [class] => PEAR_Error [type] => -> [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array [1] => [2] => 16 [3] => pear_handle_error [4] => ) ) [1] => Array ( [file] => /var/www/html/lib/pear/HTML/Common.php [line] => 110 [function] => raiseError [class] => PEAR [object] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array [1] => [2] => 16 [3] => pear_handle_error [4] => [5] => [6] => ) ) [2] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 273 [function] => raiseError [class] => HTML_Common [type] => :: [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array ) ) [3] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 258 [function] => loadArrayOptions [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => 1 [1] => ) ) [4] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 235 [function] => addOptGroup [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => Grade items [1] => ) ) [5] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 78 [function] => loadArrayOptGroups [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) ) ) [6] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm/element.php [line] => 386 [function] => __construct [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => mapping_1 [1] => Surname [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) ) [7] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 482 [function] => onQuickFormEvent [class] => HTML_QuickForm_element [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => createElement [1] => Array ( [0] => mapping_1 [1] => Surname [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [8] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm/element.php [line] => 393 [function] => onQuickFormEvent [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => createElement [1] => Array ( [0] => mapping_1 [1] => Surname [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [9] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 482 [function] => onQuickFormEvent [class] => HTML_QuickForm_element [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => addElement [1] => Array ( [0] => mapping_1 [1] => Surname [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [10] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm.php [line] => 584 [function] => onQuickFormEvent [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => addElement [1] => Array ( [0] => mapping_1 [1] => Surname [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [11] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm.php [line] => 614 [function] => _loadElement [class] => HTML_QuickForm [object] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [type] => -> [args] => Array ( [0] => addElement [1] => selectgroups [2] => Array ( [0] => mapping_1 [1] => Surname [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) ) ) [12] => Array ( [file] => /var/www/html/grade/import/grade_import_form.php [line] => 142 [function] => addElement [class] => HTML_QuickForm [object] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [type] => -> [args] => Array ( [0] => selectgroups [1] => mapping_1 [2] => Surname [3] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) ) ) [13] => Array ( [file] => /var/www/html/lib/formslib.php [line] => 214 [function] => definition [class] => grade_import_mapping_form [object] => grade_import_mapping_form Object ( [_formname:protected] => grade_import_mapping_form [_form:protected] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [_customdata:protected] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) [_ajaxformdata:protected] => [_definition_finalized:protected] => [_validated:protected] => ) [type] => -> [args] => Array ( ) ) [14] => Array ( [file] => /var/www/html/grade/import/csv/index.php [line] => 110 [function] => __construct [class] => moodleform [object] => grade_import_mapping_form Object ( [_formname:protected] => grade_import_mapping_form [_form:protected] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [_customdata:protected] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) [_ajaxformdata:protected] => [_definition_finalized:protected] => [_validated:protected] => ) [type] => -> [args] => Array ( [0] => http://localhost:8000/grade/import/csv/index.php [1] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) ) ) ) Argument 1 of HTML_Select::loadArray is not a valid array Backtrace : Array ( [0] => Array ( [file] => /var/www/html/lib/pear/PEAR.php [line] => 545 [function] => __construct [class] => PEAR_Error [type] => -> [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array [1] => [2] => 16 [3] => pear_handle_error [4] => ) ) [1] => Array ( [file] => /var/www/html/lib/pear/HTML/Common.php [line] => 110 [function] => raiseError [class] => PEAR [object] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array [1] => [2] => 16 [3] => pear_handle_error [4] => [5] => [6] => ) ) [2] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 273 [function] => raiseError [class] => HTML_Common [type] => :: [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array ) ) [3] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 258 [function] => loadArrayOptions [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => 1 [1] => ) ) [4] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 235 [function] => addOptGroup [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => Grade items [1] => ) ) [5] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 78 [function] => loadArrayOptGroups [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) ) ) [6] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm/element.php [line] => 386 [function] => __construct [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => mapping_2 [1] => ID number [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) ) [7] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 482 [function] => onQuickFormEvent [class] => HTML_QuickForm_element [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => createElement [1] => Array ( [0] => mapping_2 [1] => ID number [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [8] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm/element.php [line] => 393 [function] => onQuickFormEvent [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => createElement [1] => Array ( [0] => mapping_2 [1] => ID number [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [9] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 482 [function] => onQuickFormEvent [class] => HTML_QuickForm_element [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => addElement [1] => Array ( [0] => mapping_2 [1] => ID number [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [10] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm.php [line] => 584 [function] => onQuickFormEvent [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => addElement [1] => Array ( [0] => mapping_2 [1] => ID number [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [11] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm.php [line] => 614 [function] => _loadElement [class] => HTML_QuickForm [object] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [type] => -> [args] => Array ( [0] => addElement [1] => selectgroups [2] => Array ( [0] => mapping_2 [1] => ID number [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) ) ) [12] => Array ( [file] => /var/www/html/grade/import/grade_import_form.php [line] => 142 [function] => addElement [class] => HTML_QuickForm [object] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [type] => -> [args] => Array ( [0] => selectgroups [1] => mapping_2 [2] => ID number [3] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) ) ) [13] => Array ( [file] => /var/www/html/lib/formslib.php [line] => 214 [function] => definition [class] => grade_import_mapping_form [object] => grade_import_mapping_form Object ( [_formname:protected] => grade_import_mapping_form [_form:protected] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [_customdata:protected] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) [_ajaxformdata:protected] => [_definition_finalized:protected] => [_validated:protected] => ) [type] => -> [args] => Array ( ) ) [14] => Array ( [file] => /var/www/html/grade/import/csv/index.php [line] => 110 [function] => __construct [class] => moodleform [object] => grade_import_mapping_form Object ( [_formname:protected] => grade_import_mapping_form [_form:protected] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [_customdata:protected] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) [_ajaxformdata:protected] => [_definition_finalized:protected] => [_validated:protected] => ) [type] => -> [args] => Array ( [0] => http://localhost:8000/grade/import/csv/index.php [1] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) ) ) ) Argument 1 of HTML_Select::loadArray is not a valid array Backtrace : Array ( [0] => Array ( [file] => /var/www/html/lib/pear/PEAR.php [line] => 545 [function] => __construct [class] => PEAR_Error [type] => -> [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array [1] => [2] => 16 [3] => pear_handle_error [4] => ) ) [1] => Array ( [file] => /var/www/html/lib/pear/HTML/Common.php [line] => 110 [function] => raiseError [class] => PEAR [object] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array [1] => [2] => 16 [3] => pear_handle_error [4] => [5] => [6] => ) ) [2] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 273 [function] => raiseError [class] => HTML_Common [type] => :: [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array ) ) [3] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 258 [function] => loadArrayOptions [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Institution [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_3 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => 1 [1] => ) ) [4] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 235 [function] => addOptGroup [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Institution [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_3 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => Grade items [1] => ) ) [5] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 78 [function] => loadArrayOptGroups [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Institution [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_3 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) ) ) [6] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm/element.php [line] => 386 [function] => __construct [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Institution [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_3 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => mapping_3 [1] => Institution [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) ) [7] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 482 [function] => onQuickFormEvent [class] => HTML_QuickForm_element [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Institution [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_3 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => createElement [1] => Array ( [0] => mapping_3 [1] => Institution [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [6] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 [mapping_2] => 6 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [8] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm/element.php [line] => 393 [function] => onQuickFormEvent [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Institution [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_3 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => createElement [1] => Array ( [0] => mapping_3 [1] => Institution [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [6] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 [mapping_2] => 6 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [9] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 482 [function] => onQuickFormEvent [class] => HTML_QuickForm_element [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Institution [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_3 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => addElement [1] => Array ( [0] => mapping_3 [1] => Institution [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [6] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 [mapping_2] => 6 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [10] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm.php [line] => 584 [function] => onQuickFormEvent [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Institution [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_3 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => addElement [1] => Array ( [0] => mapping_3 [1] => Institution [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [6] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 [mapping_2] => 6 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [11] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm.php [line] => 614 [function] => _loadElement [class] => HTML_QuickForm [object] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [6] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 [mapping_2] => 6 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [type] => -> [args] => Array ( [0] => addElement [1] => selectgroups [2] => Array ( [0] => mapping_3 [1] => Institution [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) ) ) [12] => Array ( [file] => /var/www/html/grade/import/grade_import_form.php [line] => 142 [function] => addElement [class] => HTML_QuickForm [object] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [6] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 [mapping_2] => 6 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [type] => -> [args] => Array ( [0] => selectgroups [1] => mapping_3 [2] => Institution [3] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) ) ) [13] => Array ( [file] => /var/www/html/lib/formslib.php [line] => 214 [function] => definition [class] => grade_import_mapping_form [object] => grade_import_mapping_form Object ( [_formname:protected] => grade_import_mapping_form [_form:protected] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [6] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 [mapping_2] => 6 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [_customdata:protected] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) [_ajaxformdata:protected] => [_definition_finalized:protected] => [_validated:protected] => ) [type] => -> [args] => Array ( ) ) [14] => Array ( [file] => /var/www/html/grade/import/csv/index.php [line] => 110 [function] => __construct [class] => moodleform [object] => grade_import_mapping_form Object ( [_formname:protected] => grade_import_mapping_form [_form:protected] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [6] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 [mapping_2] => 6 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) [_customdata:protected] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) [_ajaxformdata:protected] => [_definition_finalized:protected] => [_validated:protected] => ) [type] => -> [args] => Array ( [0] => http://localhost:8000/grade/import/csv/index.php [1] => Array ( [gradeitems] => [header] => Array ( [0] => First name [1] => Surname [2] => ID number [3] => Institution [4] => Department [5] => Email address [6] => Assignment: ASD (Real) [7] => Course total (Real) [8] => Last downloaded from this course ) [iid] => 1652801180 [id] => 7 [importcode] => 1652801180 [forceimport] => [verbosescales] => 1 ) ) ) ) Argument 1 of HTML_Select::loadArray is not a valid array Backtrace : Array ( [0] => Array ( [file] => /var/www/html/lib/pear/PEAR.php [line] => 545 [function] => __construct [class] => PEAR_Error [type] => -> [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array [1] => [2] => 16 [3] => pear_handle_error [4] => ) ) [1] => Array ( [file] => /var/www/html/lib/pear/HTML/Common.php [line] => 110 [function] => raiseError [class] => PEAR [object] => PEAR Object ( [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array [1] => [2] => 16 [3] => pear_handle_error [4] => [5] => [6] => ) ) [2] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 273 [function] => raiseError [class] => HTML_Common [type] => :: [args] => Array ( [0] => Argument 1 of HTML_Select::loadArray is not a valid array ) ) [3] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 258 [function] => loadArrayOptions [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Department [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_4 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => 1 [1] => ) ) [4] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 235 [function] => addOptGroup [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Department [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_4 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => Grade items [1] => ) ) [5] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 78 [function] => loadArrayOptGroups [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Department [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_4 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) ) ) [6] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm/element.php [line] => 386 [function] => __construct [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Department [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_4 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => mapping_4 [1] => Department [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) ) [7] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 482 [function] => onQuickFormEvent [class] => HTML_QuickForm_element [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Department [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_4 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => createElement [1] => Array ( [0] => mapping_4 [1] => Department [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [6] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [7] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Institution [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_3 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 [mapping_2] => 6 [mapping_3] => 7 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [8] => Array ( [file] => /var/www/html/lib/pear/HTML/QuickForm/element.php [line] => 393 [function] => onQuickFormEvent [class] => MoodleQuickForm_selectgroups [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Department [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_4 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => createElement [1] => Array ( [0] => mapping_4 [1] => Department [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [6] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_2 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [7] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Institution [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_3 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) ) [_elementIndex] => Array ( [general] => 0 [mapfrom] => 1 [mapto] => 2 [general_map] => 3 [mapping_0] => 4 [mapping_1] => 5 [mapping_2] => 6 [mapping_3] => 7 ) [_duplicateIndex] => Array ( ) [_required] => Array ( ) [_jsPrefix] => Invalid information entered. [_jsPostfix] => Please correct these fields. [_datasource] => [_defaultValues] => Array ( ) [_constantValues] => Array ( ) [_submitValues] => Array ( ) [_submitFiles] => Array ( ) [_maxFileSize] => 1048576 [_freezeAll] => [_rules] => Array ( ) [_formRules] => Array ( ) [_errors] => Array ( ) [_requiredNote] => There are required fields in this form marked . [_flagSubmitted] => [_attributes] => Array ( [autocomplete] => off [action] => http://localhost:8000/grade/import/csv/index.php [method] => post [accept-charset] => utf-8 [id] => mform2_O0AfRthhToCmZ1r [class] => mform ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => [_reqHTML] => [_advancedHTML] => Advanced element ) ) ) [9] => Array ( [file] => /var/www/html/lib/form/selectgroups.php [line] => 482 [function] => onQuickFormEvent [class] => HTML_QuickForm_element [object] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Department [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_4 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [type] => -> [args] => Array ( [0] => addElement [1] => Array ( [0] => mapping_4 [1] => Department [2] => Array ( [Others] => Array ( [0] => Ignore [new] => New grade item ) [Grade items] => [Feedbacks] => Array ( ) ) [3] => [4] => ) [2] => MoodleQuickForm Object ( [_types] => Array ( ) [_dependencies] => Array ( ) [_hideifs:protected] => Array ( ) [_noSubmitButtons] => Array ( ) [_cancelButtons] => Array ( ) [_advancedElements] => Array ( ) [_collapsibleElements] => Array ( ) [_disableShortforms] => [_use_form_change_checker:protected] => 1 [_initial_form_dirty_state:protected] => [_formName] => grade_import_mapping_form [_pageparams] => [_newrepeats:protected] => Array ( ) [_ajaxformdata:protected] => [clientvalidation:protected] => [_elements] => Array ( [0] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Identify user by [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [1] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => First name [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => Surname [attr] => Array ( [value] => 1 ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => 2 ) ) [3] => Array ( [text] => Institution [attr] => Array ( [value] => 3 ) ) [4] => Array ( [text] => Department [attr] => Array ( [value] => 4 ) ) [5] => Array ( [text] => Email address [attr] => Array ( [value] => 5 ) ) [6] => Array ( [text] => Assignment: ASD (Real) [attr] => Array ( [value] => 6 ) ) [7] => Array ( [text] => Course total (Real) [attr] => Array ( [value] => 7 ) ) [8] => Array ( [text] => Last downloaded from this course [attr] => Array ( [value] => 8 ) ) ) [_values] => [_label] => Map from [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapfrom ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [2] => MoodleQuickForm_select Object ( [_helpbutton] => [_hiddenLabel] => [_options] => Array ( [0] => Array ( [text] => User ID [attr] => Array ( [value] => userid ) ) [1] => Array ( [text] => Username [attr] => Array ( [value] => username ) ) [2] => Array ( [text] => ID number [attr] => Array ( [value] => useridnumber ) ) [3] => Array ( [text] => Email address [attr] => Array ( [value] => useremail ) ) [4] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) ) [_values] => [_label] => Map to [_type] => select [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapto ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [3] => MoodleQuickForm_header Object ( [_helpbutton] => [_text] => Grade item mappings [_label] => [_type] => header [_flagFrozen] => [_persistantFreeze] => [_attributes] => Array ( [name] => general_map ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [4] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => First name [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_0 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [5] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => Surname [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => mapping_1 ) [_tabOffset] => 0 [_tab] => [_lineEnd] => [_comment] => ) [6] => MoodleQuickForm_selectgroups Object ( [showchoose] => [_optGroups] => Array ( [0] => Array ( [attr] => Array ( [label] => Others ) [options] => Array ( [0] => Array ( [text] => Ignore [attr] => Array ( [value] => 0 ) ) [1] => Array ( [text] => New grade item [attr] => Array ( [value] => new ) ) ) ) [1] => Array ( [attr] => Array ( [label] => Grade items ) ) [2] => Array ( [attr] => Array ( [label] => Feedbacks ) ) ) [_values] => [_helpbutton] => [_hiddenLabel] => [_label] => ID number [_type] => selectgroups [_flagFrozen] => [_persistantFreeze] => 1 [_