I'm trying to add a block plugin on one of my courses. The plugin is basically a form. It works perfectly on the dashboard, however, when I submit the form of the block plugin when the block is in my course I get these errors:
"Must specify course id, short name or idnumber
Error code: unspecifycourseid
- line 494 of /lib/setuplib.php: moodle_exception thrown
- line 30 of /course/view.php: call to print_error()"
Does anyone know how can I solve this?