If your WordPress site has stopped working after you updated PHP, and you don’t have the option to go back to a previous version, then you can follow this guide to make your site working again.
Step 1 – Deactivate all plugins from phpMyAdmin
Step 2 – Change the theme to a default version
Step 3 – Log in to the WordPress admin
Step 4 – Update WordPress, plugins and themes
Step 5 – Activate the plugins and theme again