Troubleshoot 5xx errors at Hostinger, server-related issues that can occur for several different reasons.
Why 5xx errors happen
There are a few different errors with the 5xx format that you can encounter when reaching a website. While the 5 in the status code indicates that the error is server-related in general, there are can be several reasons why this type of errors may happen, such as:
-
Issues withing the website’s code, such as invalid syntax, incorrect parameters, using an incomplete function, etc.
-
Plugins or themes causing server overload or logical errors
-
The hosting resources limits are being reached
Rule out a local cache issue
Among others. To fix a 5xx error, first, double-check that it is not a local cache issue.
Fix a specific 5xx error
If the error still appears after trying a different network and device, follow the guide below corresponding to the specific error number:
-
Errors 503 Service Unavailable and 508 Resource Limits Reached
- If the cause is a code-level issue, see how to fix the “Unexpected T_STRING” error or how to fix the PHP “Cannot redeclare” error.
For details on any 5xx errors encountered on your website, you can check the Analytics section.