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

error/cannot_precheck_wrong_status when restoring backup mbz

$
0
0
by Andi Rahmat.  

I have an error restoring a backup.(error/cannot precheck_wrong_status)

I check the script in restore_includes.php :

// Schema Restore backup into course.
            $controller = new restore_controller($folder, $course_id, backup::INTERACTIVE_NO, backup::MODE_SAMESITE, $userdoingrestore, backup::TARGET_NEW_COURSE);
              
            //error when execute_precheck
            $controller->execute_precheck();
           
            $controller->execute_plan();
            $transaction->allow_commit();
            // end Schema Restore backup into course.
           
            //print_r($folder, $course_id); //die();

I attached the screenshoot and file backup.mbz


Viewing all articles
Browse latest Browse all 6619

Trending Articles



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