Can not find data record in database table course_categories.

Can not find data record in database table course_categories.

napisao/la Lekshmi Anil -
Broj odgovora: 2

Hello,


I am using moodle 3.5, Fordson theme.

Now, when I click on Create course button, it is showing the following error.

Can not find data record in database table course_categories.

Debug info: SELECT * FROM {course_categories} WHERE id = ?
[array (
0 => 1,
)]
Error code: invalidrecord

Stack trace:

  • line 1546 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
  • line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  • line 100 of /course/edit.php: call to moodle_database->get_record()
I can create courses through Site administration-->Courses

But not from the site home.

Attaching the screenshot.


Thanks in Advance!

Privitak theme.png
Odgovor na Lekshmi Anil

Re: Can not find data record in database table course_categories.

napisao/la Howard Miller -
Slika Core developers Slika Documentation writers Slika Particularly helpful Moodlers Slika Peer reviewers Slika Plugin developers

Sounds like a problem with the Fordson theme