Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Error when try to duplicate some module in a course

$
0
0

by Eduardo Hm.  

Hi to everyone

I have been presented with the following error in my Moodle platform. In any course and on any resource (forum, questionnaire, file, URL, task, etc.) when I try to duplicate it with the option to duplicate the module, the following error is shown on the screen :

error / cannot_precheck_wrong_status
Debug info:
Error code: cannot_precheck_wrong_status $ a contents: 200
Stack trace:

* line 373 of /backup/controller/restore_controller.class.php: restore_controller_exception thrown
* line 3689 of /course/lib.php: call to restore_controller-> execute_precheck ()
* line 3625 of /course/lib.php: call to duplicate_module ()
* line 118 of /course/rest.php: call to mod_duplicate_activity ()

The error is given when restoring the content of the resource that you want to duplicate. I do not understand exactly why it gives this error, since I have done tests of whole copies of a course and restoring them in other courses without any problem. Does anyone know the reason why Moodle throws this error?

I have Moodle in version 3.1.6.


Thanks in advance.


Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>