{"id":1146,"date":"2020-12-11T14:59:08","date_gmt":"2020-12-11T14:59:08","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2020\/12\/11\/4714113-troubleshooting-5xx-errors-at-hostinger\/"},"modified":"2026-10-30T02:06:29","modified_gmt":"2026-10-30T02:06:29","slug":"4714113-troubleshooting-5xx-errors-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/4714113-troubleshooting-5xx-errors-at-hostinger\/","title":{"rendered":"Troubleshooting 5xx errors at Hostinger"},"content":{"rendered":"<p>Troubleshoot 5xx errors at Hostinger, server-related issues that can occur for several different reasons.<\/p>\n<h2 id=\"h-why-5xx-errors-happen\">Why 5xx errors happen<\/h2>\n<p class=\"no-margin\">There are a few different errors with the <b>5xx <\/b>format that you can encounter when reaching a website. While the <b>5<\/b> 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:<\/p>\n<ul>\n<li>\n<p class=\"no-margin\">Issues withing the website&#8217;s <b>code<\/b>, such as invalid syntax, incorrect parameters, using an incomplete function, etc.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Plugins <\/b>or <b>themes <\/b>causing server overload or logical errors<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">The hosting <b>resources<\/b> limits are being reached<\/p>\n<\/li>\n<\/ul>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">If you&#8217;re unsure whether an error relates to your code specifically, see <a data-click-id=\"hgr-post-content-link-how-to-identify-and-fix-website-errors-at-hostinger\" href=\"\/support\/4152553-how-to-identify-and-fix-website-errors-at-hostinger\/\">how to identify and fix website errors at Hostinger.<\/a><\/div>\n<h2 id=\"h-rule-out-a-local-cache-issue\">Rule out a local cache issue<\/h2>\n<p class=\"no-margin\">Among others. To fix a 5xx error, first, double-check that it is not a <b><a data-click-id=\"hgr-post-content-link-local-cache-issue\" class=\"intercom-content-link\" href=\"\/support\/1583286-what-to-do-if-you-cannot-access-your-website\/\" target=\"_blank\" rel=\"noopener\">local cache issue<\/a>. <\/b><\/p>\n<h2 id=\"h-fix-a-specific-5xx-error\">Fix a specific 5xx error<\/h2>\n<p class=\"no-margin\">If the error still appears after trying a different network and device, follow the guide below corresponding to the specific error number:<\/p>\n<ul>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-500-internal-server-error\" class=\"intercom-content-link\" href=\"\/support\/1583187-how-to-fix-500-internal-server-error-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">500 Internal Server Error<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-502-bad-gateway-error\" class=\"intercom-content-link\" href=\"\/tutorials\/how-to-fix-502-bad-gateway-error\/\" target=\"_blank\" rel=\"noopener\">502 Bad Gateway Error<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-errors-503-service-unavailable-and-508-resource-limits-reach\" class=\"intercom-content-link\" href=\"\/support\/3417446-how-to-fix-the-503-error-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">Errors 503 Service Unavailable and 508 Resource Limits Reached<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-504-gateway-timeout-error\" class=\"intercom-content-link\" href=\"\/tutorials\/how-to-solve-504-gateway-timeout-error\/\" target=\"_blank\" rel=\"noopener\">504 Gateway Timeout Error<\/a><\/b><\/p>\n<\/li>\n<li><a data-click-id=\"hgr-post-content-link-how-to-fix-a-cloudflare-520-error-at-hostinger\" href=\"\/support\/how-to-fix-a-cloudflare-520-error-at-hostinger\/\"><strong>How to fix a Cloudflare 520 error at Hostinger<\/strong><\/a><\/li>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-cloudflare-5xx-errors-521-522-524-525-526\" class=\"intercom-content-link\" href=\"https:\/\/developers.cloudflare.com\/support\/troubleshooting\/cloudflare-errors\/troubleshooting-cloudflare-5xx-errors\/#error-521-web-server-is-down\" target=\"_blank\" rel=\"noopener\">Cloudflare 5xx errors: 521, 522, 524, 525, 526<\/a><\/b><\/p>\n<\/li>\n<li>If the cause is a code-level issue, see <a data-click-id=\"hgr-post-content-link-how-to-fix-the-unexpected-t_string-error\" href=\"\/support\/1583196-how-to-fix-the-unexpected-t_string-error-at-hostinger\/\">how to fix the &#8220;Unexpected T_STRING&#8221; error<\/a> or <a data-click-id=\"hgr-post-content-link-how-to-fix-the-php-cannot-redeclare-error\" href=\"\/support\/1583195-how-to-fix-the-php-cannot-redeclare-error-at-hostinger\/\">how to fix the PHP &#8220;Cannot redeclare&#8221; error.<\/a><\/li>\n<\/ul>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">For details on any 5xx errors encountered on your website, you can check the <b><a data-click-id=\"hgr-post-content-link-analytics\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/5650167-how-to-use-the-traffic-section-on-hostinger-dashboard-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">Analytics<\/a> <\/b>section.<\/p>\n<\/div>\n<p class=\"no-margin\">\n","protected":false},"excerpt":{"rendered":"<p>How to fix server 5xx errors on your website<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[180],"tags":[],"class_list":["post-1146","post","type-post","status-publish","format-standard","hentry","category-website-troubleshooting"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4714113-troubleshooting-5xx-errors-at-hostinger","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/4714113-como-reparar-errores-5xx-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/4714113-depannage-des-erreurs-5xx-at-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/4714113-cara-mengatasi-error-5xx-at-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/4714113-como-corrigir-os-erros-5xx-at-hostinger","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/4714113-\u0432\u0438\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044f-\u043f\u043e\u043c\u0438\u043b\u043e\u043a-5xx-at-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1146"}],"version-history":[{"count":5,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1146\/revisions"}],"predecessor-version":[{"id":23920,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1146\/revisions\/23920"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}