-
Bug
-
Resolution: Fixed
-
Critical
-
3.0.3
-
MOODLE_30_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-53425-master-delete-by-chunks -
-
3.1 Sprint 7, 3.2 Sprint 1
-
Large
Whenever I try to reset Dashboard for all users I got this error message:
-------------------
Debug info: number of parameters must be between 0 and 65535
DELETE FROM mdl_user_preferences WHERE name IN ($1,$2,$3,$4,$5,$6,$7,
...
76243 => 'docked_block_instance_44065',
76244 => 'block44066hidden',
76245 => 'docked_block_instance_44066',
)]
Error code: dmlwriteexception
-------------------
Stack trace:
line 446 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 1287 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
line 1847 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->delete_records_select()
line 2078 of /lib/blocklib.php: call to moodle_database->delete_records_list()
line 177 of /my/lib.php: call to blocks_delete_instances()
line 52 of /my/indexsys.php: call to my_reset_page_for_all_users()
- has a non-specific relationship to
-
MDL-66864 Upgrade fails with error 'number of parameters must be between 0 and 65535' on large sites
- Closed
-
MDL-53735 Split very large SQL-IN parameters to chunks
- Closed
- has been marked as being related by
-
MDL-62503 Upgrade Moodle 3.5: Error reseting user dashboard in PostgreSQL very large sites
- Closed
- is a regression caused by
-
MDL-46878 Reset Dashboard for all users
- Closed