Courses pending approval error

Courses pending approval error

by George Balasca -
Number of replies: 0

Hi all, 

After configuring the Course Request function in Moodle 3.7.2, I made 2 requests and as admin(or any other role that should be able to) I cannot get the pending approval courses. 

The following error is displayed:

Courses pending approval

Can't find data record in database table role.

More information about this error

Debug info: SELECT * FROM {role} WHERE id = ?

[array (

0 => '3',

)]

Error code: invalidrecord

Stack trace:


    line 1562 of \lib\dml\moodle_database.php: dml_missing_record_exception thrown

    line 1538 of \lib\dml\moodle_database.php: call to moodle_database->get_record_select()

    line 96 of \course\pending.php: call to moodle_database->get_record()


Thank you in advance for your time!

Average of ratings: -