-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.7
Plugins may define a subplugins.json file that is not valid and cause errors on the site.
To reproduce:
- Log in as an admin
- Remove the contents of mod/assign/db/subplugins.json
- Bump version.php
- Go to any page that can trigger the upgrade process. e.g. [MOODLE_URL]/admin/index.php#linkmodules
You'll get the following notices:
Warning: Attempt to read property "plugintypes" on null in /Users/jun/Work/moodles/stable_master/moodle/lib/classes/component.php on line 577
|