Skip to content

Bug : line 100 of /course/edit.php: call to moodle_database->get_record() #154

@EricPERONNIN

Description

@EricPERONNIN

Hi,
New course button on the dashboard gives this error : line 100 of /course/edit.php: call to moodle_database->get_record() on moodle 3.11.5
This is a known problem on various sites and it's not fix.

Condition : I've previously delete the default category called miscellaneous.
Cause : The New course button on the dashboard refers to course/edit.php?category=1
Note that the new course link in the administration menu refers to course/edit.php?category=0 and this works.

Solution : change the link for the new course button on the dashboard to course/edit.php?category=0
Note that there's the same problem on the homepage.
Thanks for the theme.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions