Hello,
I'm currently getting "Error Reading From Database" when either trying to view/edit existing user profiles or when trying to add new users.
Error when trying to Add a New User:
Error reading from database
Debug info: Unknown column 'tg.tagtype' in 'field list'
SELECT ti.id AS taginstanceid, tg.id, tg.tagtype, tg.name, tg.rawname, tg.flag, ti.ordering
FROM mdl_tag_instance ti
JOIN mdl_tag tg ON tg.id = ti.tagid
WHERE ti.itemtype = ? AND ti.itemid = ?
ORDER BY ti.ordering ASC
[array (
0 => 'user',
1 => -1,
)]
Error code: dmlreadexception
SELECT ti.id AS taginstanceid, tg.id, tg.tagtype, tg.name, tg.rawname, tg.flag, ti.ordering
FROM mdl_tag_instance ti
JOIN mdl_tag tg ON tg.id = ti.tagid
WHERE ti.itemtype = ? AND ti.itemid = ?
ORDER BY ti.ordering ASC
[array (
0 => 'user',
1 => -1,
)]
Error code: dmlreadexception
Stack trace:
Error when trying to view/edit user profile:- 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 372 of /tag/lib.php: call to mysqli_native_moodle_database->get_records_sql()
- line 396 of /tag/lib.php: call to tag_get_tags()
- line 121 of /user/editadvanced.php: call to tag_get_tags_array()
Error reading from database
Debug info: Unknown column 'tg.tagtype' in 'field list'
SELECT ti.id AS taginstanceid, tg.id, tg.tagtype, tg.name, tg.rawname, tg.flag, ti.ordering
FROM mdl_tag_instance ti
JOIN mdl_tag tg ON tg.id = ti.tagid
WHERE ti.itemtype = ? AND ti.itemid = ?
ORDER BY ti.ordering ASC
[array (
0 => 'user',
1 => 27,
)]
Error code: dmlreadexception
SELECT ti.id AS taginstanceid, tg.id, tg.tagtype, tg.name, tg.rawname, tg.flag, ti.ordering
FROM mdl_tag_instance ti
JOIN mdl_tag tg ON tg.id = ti.tagid
WHERE ti.itemtype = ? AND ti.itemid = ?
ORDER BY ti.ordering ASC
[array (
0 => 'user',
1 => 27,
)]
Error code: dmlreadexception
Stack trace:
Any tips? Thanks!- 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 372 of /tag/lib.php: call to mysqli_native_moodle_database->get_records_sql()
- line 396 of /tag/lib.php: call to tag_get_tags()
- line 121 of /user/editadvanced.php: call to tag_get_tags_array()
-Kevin