Hello everyone!
I'm trying to upgrade Moodle from 2.9.1 to 3.1.1 version. I get an error:
LINE 1: UPDATE mdl_glossary_formats SET showtabs = $2 WHERE id = $1
^
UPDATE mdl_glossary_formats SET showtabs = $2 WHERE id = $1
[array (
0 => '1',
1 => 'standard,category,date',
)]
Error code: dmlwriteexception
- line 477 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 244 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
- line 1270 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
- line 1749 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->set_field_select()
- line 3281 of /mod/glossary/lib.php: call to moodle_database->set_field()
- line 925 of /mod/glossary/lib.php: call to glossary_set_default_visible_tabs()
- line 52 of /mod/glossary/settings.php: call to glossary_get_available_formats()
- line 89 of /lib/classes/plugininfo/mod.php: call to include()
- line 45 of /admin/settings/plugins.php: call to core\plugininfo\mod->load_settings()
- line 7279 of /lib/adminlib.php: call to require()
- line 22 of /admin/upgradesettings.php: call to admin_get_root()