If the error returns after a fix, the cause is likely still there, such as a plugin that conflicts with your PHP version or a site that keeps running out of memory. Your web host can look at the server logs and help you find the root cause.