I'm developing a course activity.
For this I need to allow instructors upload a bunch of files. I'm using the 'filemanager' form element to handle this. To get an understanding of what's going on and to try stuff out, I'm using the "Loading existing files into draft area" and the "Store updated set of files" example code as is.
But while testing, I keep getting the error that the methods 'get_data' and 'set_data' don't exist. Which is weird, because my form extends 'moodleform_mod', just like in the examples, which (I checked) does contain 'get_data'.
I'm using version 2020061502.04 (3.9.2+ STABLE) of Moodle.