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

cannot_precheck_wrong_status

$
0
0
by Daniel Villareal.  

Hi All,

Were getting cannot_precheck_wrong_status on one of our production server but on our dev site it is working well

$controller = new restore_controller($backupid, $courseid,
                                                                               backup::INTERACTIVE_NO, backup::MODE_SAMESITE, $admin->id, backup::TARGET_NEW_COURSE);
$controller->execute_precheck();
$controller->execute_plan();

I'm not really sure what's wrong with the code why moodle returns that error.


Viewing all articles
Browse latest Browse all 6815

Trending Articles



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