Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocker: Board in course format single activity #58

Closed
ralf-krause opened this issue Mar 30, 2023 · 2 comments
Closed

Blocker: Board in course format single activity #58

ralf-krause opened this issue Mar 30, 2023 · 2 comments

Comments

@ralf-krause
Copy link

ralf-krause commented Mar 30, 2023

Hi,
after we switched the course format to single activity with the activity board, we can‘t access to the course settings anymore. We can‘t edit the course settings, we can‘t enrol users, we can't see grades … we can't do nothing in the course. Yes, the already enrolled users can see the board.
Kind regards,
Ralf

Ralf Krause
moodleSCHULE e.V.

Error
Exception - has_capability(): Argument #2 ($context) must be of type context, null given, called in [dirroot]/mod/board/lib.php on line 206

Debug info: 
Error code: generalexceptionmessage
Stack trace:
line 427 of /lib/accesslib.php: TypeError thrown
line 206 of /mod/board/lib.php: call to has_capability()
line 4880 of /lib/navigationlib.php: call to board_extend_settings_navigation()
line 4342 of /lib/navigationlib.php: call to settings_navigation->load_module_settings()
line 833 of /lib/pagelib.php: call to settings_navigation->initialise()
line 962 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 1124 of /lib/classes/navigation/views/secondary.php: call to moodle_page->__get()
line 214 of /lib/classes/navigation/views/secondary.php: call to core\navigation\views\secondary->load_single_activity_course_navigation()
line 890 of /lib/pagelib.php: call to core\navigation\views\secondary->initialise()
line 962 of /lib/pagelib.php: call to moodle_page->magic_get_secondarynav()
line 70 of /theme/boost/layout/drawers.php: call to moodle_page->__get()
line 1477 of /lib/outputrenderers.php: call to include()
line 1403 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 247 of /course/edit.php: call to core_renderer->header()
@learningtechnologyservices
Copy link
Contributor

Hi @ralf-krause , many thanks for raising this issue with us and providing us with details, we can confirm that we are going to address this in our next release.

@learningtechnologyservices
Copy link
Contributor

Hi Ralf, many thanks for reporting this issue.

Apologies for the delay getting this fixed, and hope that this sorts it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants