Skip to content

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

@Junosprite007

Description

@Junosprite007

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions