Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: error/debug/missingconfigversion.


From MoodleDocs

The most likely cause of this error is that the 'version' key is missing from your configuration dictionary.

Steps to fix:

  • Open <moodleinstalldir>/version.php
  • Find the value in $version
  • Open 'mdl_config' in database manager
  • Insert key after last entry with name = 'version' and value = <value found in version.php>

Also check the database/table owner is correct.

If this doesn't solve your issue, visit