The 504 Gateway Timeout error means that when a request was sent to fetch a website, the gateway server didn’t receive a timely response from the other server.
Server overload can result in a 504 error and may need a couple of minutes to resolve itself. The first thing you can do is wait for a couple of minutes and then reload the page to see if this solves the issue.
Another reason for a 504 error could be that you have just migrated your website to a new host and haven't given it enough time to resolve. Make sure to allow a 24-72 hour window for your site to resolve.
If you have third party plugins and themes, check your error logs to see if they are causing the error.
- Navigate to Hosting Services > Logs
- Click the drop down menu at the top of the page and select Error.Log
- Look for PHP Warning or PHP Notice errors
- Follow the error Warning or Notice path to locate wp-content/plugins/[plugin name]
- Deactivate the plugin causing the error
And lastly, try restarting the PHP engine from your 10Web dashboard. Under Hosting Services click on Tools then click Restart PHP.
If the issue persists, contact a live agent.