I'm not sure why your site is crashed and what is the reason. To know the reason - please first setup a test/staging site and update the PHP version to PHP 8.x there and check if site crashed. If you see site is crashed - please send me admin and FTP access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Please provide the private reply option and I can give you admin access to the site but only with it running PHP 7.4 because upgrading to PHP8 and above crashes teh site
You should update the site to PHP 8 and then send me stating site admin and FTP access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
With the site you shared - I do not see you are using Toolset plugins. Are you?
I see you are using WPML plugin - thats fine. You should update to PHP 8 so that we know what is the error and what we need to do in order to fix this and to verify that is the error coming from Toolset (if you are using it) or WPML or any other third party plugin or theme.
Can you please update the PHP version and let me know.
I have commented it out which does allow me to upgrade to PHP 8.3 (thank you!) however, do I need this code snippet that must have been provided by your support at some time in the past?