Site not loading and breaking after doing upgrade from admin UI due to theme errors

Your theme is throwing errors. You can use safe mode to bypass the theme and fix them.

You have this added in the <head> field in your main theme or one of its components.

<script src=""></script>

find that and add defer to it like so

<script defer src=""></script>