by Susana L..
Hi,
We are having the same issue on Moodle 2.7.
I get: Orphan course module (id: 20453) found. This module will not be backed up.
I think we don't have an answer for this problem yet... not even why it is happening...
As explained here:
https://tracker.moodle.org/browse/MDL-31571
"Some situations that those tools (fix_course_sequence.php) do not cover:
course_module links to non-existing course
entry in course_module exists and in the corresponding module table not (forum, assign, etc.)"
I ran the following query:
MariaDB [moodle]> select id, course, module, instance from mdl_course_modules where instance=0;And I got the 20453:
+-------+--------+--------+----------+
| id | course | module | instance |
+-------+--------+--------+----------+
| 20453 | 1400 | 17 | 0 |
+-------+--------+--------+----------+
So, this resource (module=17) has instance=0, which means it has an entry in course_module but no corresponding entry in resource table (instance=0).
Your problem must be similar.
Best,
susana