Hi,
I'm new to dataform and I installed from git (release 2.9) in a current Moodle 3.0.2+ installation (Build: 20160218) . After adding a field and a view I get this error:
Debug info: Unknown column 'e.type' in 'field list'
SELECT
e.id, e.dataid, e.state, e.timecreated, e.timemodified, e.userid,
e.groupid, e.type , u.id AS uid
,u.picture,u.firstname,u.lastname,u.firstnamephonetic,u.lastnamephonetic,u.middlename,u.alternatename,u.imagealt,u.email,u.idnumber,u.username
FROM mdl_dataform_entries e JOIN mdl_user u ON u.id = e.userid
WHERE e.dataid = ? ORDER BY e.id ASC
[array (
0 => '7',
)]
Error code: dmlreadexception
- line 443 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 1080 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 371 of /mod/dataform/classes/entry_manager.php: call to mysqli_native_moodle_database->get_records_sql()
- line 134 of /mod/dataform/classes/entry_manager.php: call to mod_dataform_entry_manager->fetch_entries()
- line 326 of /mod/dataform/classes/pluginbase/dataformview.php: call to mod_dataform_entry_manager->set_content()
- line 309 of /mod/dataform/classes/pluginbase/dataformview.php: call to mod_dataform\pluginbase\dataformview->set_entries_content()
- line 463 of /mod/dataform/classes/dataform.php: call to mod_dataform\pluginbase\dataformview->display()
- line 71 of /mod/dataform/view.php: call to mod_dataform_dataform->display()