-
Bug
-
Resolution: Fixed
-
Minor
-
3.6.6, 3.7.2, 3.8
-
Any
-
MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
master_
MDL-66864 -
Hi all,
Upgrading Moodle from 3.5 up to 3.7 I got an error:
: -->System
|
!!! Error writing to database !!!
|
!! number of parameters must be between 0 and 65535 |
DELETE FROM mdl_message_contacts WHERE id IN ($1,$2,$3,$4,$5,$6 |
~
|
~
|
~
|
66625 => 89631, |
66626 => 89499, |
66627 => 89235, |
66628 => 89268, |
)]
|
Error code: dmlwriteexception
|
* line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown |
* line 300 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end() |
* line 1322 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end() |
* line 2039 of /lib/db/upgrade.php: call to pgsql_native_moodle_database->delete_records_select() |
* line 1809 of /lib/upgradelib.php: call to xmldb_main_upgrade() |
* line 187 of /admin/cli/upgrade.php: call to upgrade_core() |
- has been marked as being related by
-
MDL-62503 Upgrade Moodle 3.5: Error reseting user dashboard in PostgreSQL very large sites
- Closed
-
MDL-53425 Unable to reset Dashboard for all users - postgres fails if number of parameters over 65535
- Closed
-
MDL-53735 Split very large SQL-IN parameters to chunks
- Closed