Notícies del lloc


S'ha produït un error en llegir a la base de dades

Més informació d'aquest error

Debug info: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups g , groups_members gm
WHERE g.courseid' at line 2
SELECT, gm.groupid, gm.userid
FROM groups g , groups_members gm
WHERE g.courseid = ? AND = gm.groupid AND gm.userid = ?
[array (
0 => '1',
1 => '2',
Error code: dmlreadexception
Stack trace:
  • line 441 of /lib/dml/moodle_database.php: dml_read_exception thrown
  • line 996 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 263 of /lib/grouplib.php: call to mysqli_native_moodle_database->get_records_sql()
  • line 5813 of /mod/forum/lib.php: call to groups_get_all_groups()
  • line 262 of /mod/forum/discuss.php: call to forum_print_discussion()