[Snapshot Pro] Snapshot is not working

Snapshot is not working. Every time it is being run we are facing issues like the job not getting completed or receiving the error. Link for the upload file that got generated by the suggested code snippet from WPMU Dev support forum:

https://drive.google.com/file/d/1J0PbxWp5Xer262HkmJ8rUhSYPkKWv4Oz/view?usp=sharing