Note: You are currently viewing documentation for Moodle 3.3. Up-to-date documentation for the latest stable version of Moodle is probably available here: error/moodle/ddldependencyerror.

error/moodle/ddldependencyerror

From MoodleDocs

One reason for this error is that some upgrade code is trying to modify a field that has an index attached to it.

When a developer wants to change a field like this they should:

  1. drop the index first, then
  2. modify the field, and then
  3. re-create the index.

See also