2
If the site was running for 3 years without problems, and you didn't make any changes to it recently, then I would check with your host provider if they made any changes to your server, e.g. updated PHP version, or moved you to another server.
My guess is that they moved you to another server, but the link in mainfile.php still points to the old server.
Let us know what they told you. If my guess is correct, you'll need to update your mainfile.php and you should be OK.