We upgraded the moodle installation to 2.4 from 1.9 version. Earlier everything was working fine. But after this upgrade an error is generated when trying to add cursos to the platform.
Error message
Can not be found in the data record of the table course_categories database.
We have confirmed that the issue is not with the database. I have repaired all the tables and could see that the issue still persists.
Had tried to insert the data to the table manually and it worked.
Any idea how to fix it ??