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

Capability "mod/assignment:grade" was not found! #86

Open
Junosprite007 opened this issue Jun 12, 2024 · 0 comments
Open

Capability "mod/assignment:grade" was not found! #86

Junosprite007 opened this issue Jun 12, 2024 · 0 comments

Comments

@Junosprite007
Copy link

On Moodle 4.4.1, I'm getting this error:

Capability "mod/assignment:grade" was not found! This has to be fixed in code.

line 458 of /lib/accesslib.php: call to debugging()
line 103 of /blocks/grade_me/block_grade_me.php: call to has_capability()
line 337 of /blocks/moodleblock.class.php: call to block_grade_me->get_content()
line 231 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 1231 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 1289 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 377 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 4179 of /lib/outputrenderers.php: call to block_manager->region_has_content()
line 540 of /theme/adaptable/classes/output/core_renderer_layout.php: call to core_renderer->blocks()
line 144 of /theme/adaptable/classes/output/core_renderer_layout.php: call to theme_adaptable\output\core_renderer->sidepostheader()
line 760 of /theme/adaptable/classes/output/core_renderer_layout.php: call to theme_adaptable\output\core_renderer->yesheader()
line 32 of /theme/adaptable/layout/course.php: call to theme_adaptable\output\core_renderer->course_layout()
line 1486 of /lib/outputrenderers.php: call to include()
line 1412 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 290 of /course/view.php: call to core_renderer->header()

Here's a Moodle forum on this issue: https://moodle.org/mod/forum/discuss.php?d=455127#:~:text=to%20Gregor%20McNish-,Re%3A%20Capability%20%22mod%2Fassignment%3Agrade%22%20was%20not,to%20be%20fixed%20in%20code.&text=This%20is%20the%20correct%20answer,old%20%2D%20it's%20from%20Moodle%202.1.

Are you guys planning on fixing this?

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

No branches or pull requests

1 participant