So this is a very strange issue.
I have a site that is running a very old version of OSclass. I think I loaded it in 2018.
Anyway the site is been functioning perfectly except that it can only run on php 7.4. Up until yesterday the site was functioning as it should, but in the afternoon I started to get reports that users could not access the site. When I went to check I found that the site simply loads a blank page, no errors are produced.
I contacted my hosting company thinking that it might be on their side as I had not made any changes to the site and it was functioning before. They got back to me and said the only error they could pick up was PHP Warning: Invalid argument supplied for foreach() in /home/bizcreyr/public_html/jobs/oc-admin/themes/modern/main/index.php on line 290
I then also went and checked all the files on the server and found that all the index.php files were blank somehow. I replaced them with the backed up copies on my system but the issue still persists.
Not sure if anyone has any suggestions?
Link to the site is:
https://bizcraft-innovations.co.za/jobs/