Closed der-martin85 closed 1 year ago
I fixed it, by changing in the file classes/plugin.php the method user_can_send. It seems the return value of get_class($context) has changed. It does not return 'context_course', but 'core\context\course'.
@der-martin85 You should rebase your changes to the current master and only include 4.2 compatibility fixes.
I made a new pull request #65
Fix has been merged into master and release/MOODLE_421_STABLE
The block does not appear in courses. Installation showed no problems. I'm using php 8.1 and Moodle 4.2+ (20230504).