The same problem happen to me, And I will advice you to restore your site back as a preview
And because that error I cannot even upgrade my site and I restore back as preview version, I hope Flynax Developer they should try to have a Plugin in Admin which can upgrade the whole site, special when the update detected via Admin Panel