-
Notifications
You must be signed in to change notification settings - Fork 525
Description
Describe
In newly installed 1.11.26 (and possibly 1.11.24) or systems updated where vendor/ and composer.lock was deleted before a composer update, there is an error when creating a new course category.
The error message is:
Fatal error: Uncaught Error: Call to undefined function html_filter() in main/inc/lib/course_category.lib.php:191
The html_filter() function is present in FormValidator.class.php (but not part of the FormValidator class), but apparently it doesn't get picked up.
Apparently, this is not present in systems where vendor/ and composer.json are a bit older, suggesting to me that something might have changed in the composer update process that removed the mapping of the html_filter() function in the autoload files.
To Reproduce
Steps to reproduce the behavior:
- Install a fresh 1.11.26 or remove composer.lock and vendor/ from an existing system, then "composer update"
- Go to admin > Courses categories > "Create" icon > Input something > Save.
References
**Server
- Version of PHP: 7.4