{"id":433,"date":"2024-02-26T19:55:05","date_gmt":"2024-02-26T19:55:05","guid":{"rendered":"https:\/\/blog.hostinger.io\/uk\/support\/2024\/02\/26\/1583195-%d1%8f%d0%ba-%d0%b2%d0%b8%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d1%82%d0%b8-%d0%bf%d0%be%d0%bc%d0%b8%d0%bb%d0%ba%d1%83-php-cannot-redeclare-hostinger\/"},"modified":"2024-02-26T19:55:05","modified_gmt":"2024-02-26T19:55:05","slug":"1583195-%d1%8f%d0%ba-%d0%b2%d0%b8%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d1%82%d0%b8-%d0%bf%d0%be%d0%bc%d0%b8%d0%bb%d0%ba%d1%83-php-cannot-redeclare-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/ua\/support\/1583195-%d1%8f%d0%ba-%d0%b2%d0%b8%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d1%82%d0%b8-%d0%bf%d0%be%d0%bc%d0%b8%d0%bb%d0%ba%d1%83-php-cannot-redeclare-hostinger\/","title":{"rendered":"\u042f\u043a \u0412\u0438\u043f\u0440\u0430\u0432\u0438\u0442\u0438 \u041f\u043e\u043c\u0438\u043b\u043a\u0443 PHP &#8220;Cannot Redeclare&#8221; Hostinger?"},"content":{"rendered":"<p class=\"no-margin\">&#1053;&#1072; &#1042;&#1072;&#1096;&#1086;&#1084;&#1091; &#1089;&#1072;&#1081;&#1090;&#1110; &#1084;&#1086;&#1078;&#1077; &#1079;&rsquo;&#1103;&#1074;&#1080;&#1090;&#1080;&#1089;&#1103; &#1087;&#1086;&#1074;&#1110;&#1076;&#1086;&#1084;&#1083;&#1077;&#1085;&#1085;&#1103; <b>&ldquo;PHP Fatal error: Cannot redeclare function&rdquo;<\/b>. &#1062;&#1077; &#1086;&#1079;&#1085;&#1072;&#1095;&#1072;&#1108;, &#1097;&#1086; &#1042;&#1072;&#1096; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090; &#1085;&#1072;&#1084;&#1072;&#1075;&#1072;&#1108;&#1090;&#1100;&#1089;&#1103; &#1086;&#1075;&#1086;&#1083;&#1086;&#1089;&#1080;&#1090;&#1080; &#1086;&#1076;&#1085;&#1091; &#1110; &#1090;&#1091; &#1078; &#1092;&#1091;&#1085;&#1082;&#1094;&#1110;&#1102; &#1082;&#1110;&#1083;&#1100;&#1082;&#1072; &#1088;&#1072;&#1079;&#1110;&#1074;, &#1072;&#1073;&#1086; &#1090;&#1077;, &#1097;&#1086; &#1092;&#1091;&#1085;&#1082;&#1094;&#1110;&#1103; &#1074;&#1080;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1072; &#1091; <b>&#1076;&#1074;&#1086;&#1093; &#1072;&#1073;&#1086; &#1073;&#1110;&#1083;&#1100;&#1096;&#1077; &#1086;&#1082;&#1088;&#1077;&#1084;&#1080;&#1093; &#1092;&#1072;&#1081;&#1083;&#1072;&#1093;<\/b>, &#1095;&#1080; &#1091; &#1076;&#1074;&#1086;&#1093; &#1072;&#1073;&#1086; &#1073;&#1110;&#1083;&#1100;&#1096;&#1077; <b>&#1084;&#1110;&#1089;&#1094;&#1103;&#1093; &#1074; &#1086;&#1076;&#1085;&#1086;&#1084;&#1091; &#1092;&#1072;&#1081;&#1083;&#1110;<\/b>.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">&#1065;&#1086;&#1073; &#1074;&#1080;&#1087;&#1088;&#1072;&#1074;&#1080;&#1090;&#1080; &#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1091;, &#1087;&#1077;&#1088;&#1077;&#1074;&#1110;&#1088;&#1090;&#1077; &#1087;&#1086;&#1074;&#1085;&#1077; &#1087;&#1086;&#1074;&#1110;&#1076;&#1086;&#1084;&#1083;&#1077;&#1085;&#1085;&#1103; &#1087;&#1088;&#1086; &#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1091; &#1085;&#1072; &#1085;&#1072;&#1103;&#1074;&#1085;&#1110;&#1089;&#1090;&#1100; &#1090;&#1072;&#1082;&#1086;&#1111; &#1110;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1110;&#1111;, &#1103;&#1082; &#1110;&#1084;&rsquo;&#1103; &#1092;&#1072;&#1081;&#1083;&#1091; &#1090;&#1072; &#1096;&#1083;&#1103;&#1093; &#1076;&#1086; &#1085;&#1100;&#1086;&#1075;&#1086;: <\/p><ul>\n<li>\n<p class=\"no-margin\">&#1103;&#1082;&#1097;&#1086; &#1092;&#1091;&#1085;&#1082;&#1094;&#1110;&#1103; &#1086;&#1075;&#1086;&#1083;&#1086;&#1096;&#1077;&#1085;&#1072; &#1074; <b>&#1088;&#1110;&#1079;&#1085;&#1080;&#1093; &#1092;&#1072;&#1081;&#1083;&#1072;&#1093;<\/b>, &#1087;&#1086;&#1074;&#1110;&#1076;&#1086;&#1084;&#1083;&#1077;&#1085;&#1085;&#1103; &#1087;&#1088;&#1086; &#1087;&#1086;&#1084;&#1080;&#1083;&#1082;&#1091; &#1087;&#1086;&#1082;&#1072;&#1078;&#1077; &#1074; &#1103;&#1082;&#1086;&#1084;&#1091; &#1092;&#1072;&#1081;&#1083;&#1110; &#1094;&#1103; &#1092;&#1091;&#1085;&#1082;&#1094;&#1110;&#1103; &#1073;&#1091;&#1083;&#1072; &#1086;&#1075;&#1086;&#1083;&#1086;&#1096;&#1077;&#1085;&#1072; &#1088;&#1072;&#1085;&#1110;&#1096;&#1077;. &#1055;&#1077;&#1088;&#1077;&#1074;&#1110;&#1088;&#1090;&#1077; &#1089;&#1074;&#1110;&#1081; &#1082;&#1086;&#1076; &#1110; &#1074;&#1080;&#1088;&#1110;&#1096;&#1110;&#1090;&#1100; &#1074; &#1103;&#1082;&#1086;&#1084;&#1091; <b>&#1091;&#1085;&#1110;&#1082;&#1072;&#1083;&#1100;&#1085;&#1086;&#1084;&#1091; &#1092;&#1072;&#1081;&#1083;&#1110;<\/b> &#1086;&#1075;&#1086;&#1083;&#1086;&#1089;&#1080;&#1090;&#1080; &#1092;&#1091;&#1085;&#1082;&#1094;&#1110;&#1102;, &#1072; &#1087;&#1086;&#1090;&#1110;&#1084; &#1074;&#1080;&#1076;&#1072;&#1083;&#1110;&#1090;&#1100; &#1111;&#1111; &#1079; &#1091;&#1089;&#1110;&#1093; &#1110;&#1085;&#1096;&#1080;&#1093; &#1092;&#1072;&#1081;&#1083;&#1110;&#1074;;<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">&#1103;&#1082;&#1097;&#1086; &#1092;&#1091;&#1085;&#1082;&#1094;&#1110;&#1102; &#1074;&#1082;&#1083;&#1102;&#1095;&#1077;&#1085;&#1086; &#1073;&#1110;&#1083;&#1100;&#1096;&#1077; &#1086;&#1076;&#1085;&#1086;&#1075;&#1086; &#1088;&#1072;&#1079;&#1091; &#1074; <b>&#1086;&#1076;&#1085;&#1086;&#1084;&#1091; &#1092;&#1072;&#1081;&#1083;&#1110;<\/b>, &#1074;&#1110;&#1076;&#1082;&#1088;&#1080;&#1081;&#1090;&#1077; &#1092;&#1072;&#1081;&#1083; &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; <b><a href=\"https:\/\/support.hostinger.com\/en\/articles\/7949267-how-to-use-the-file-editor-at-hostinger\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">&#1092;&#1072;&#1081;&#1083;&#1086;&#1074;&#1086;&#1075;&#1086; &#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088;&#1072;<\/a><\/b> &#1110; &#1074;&#1080;&#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1086;&#1074;&#1091;&#1081;&#1090;&#1077; <b><a href=\"https:\/\/www.php.net\/manual\/en\/function.include-once.php\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">include_once<\/a><\/b> &#1079;&#1072;&#1084;&#1110;&#1089;&#1090;&#1100; <b><a href=\"https:\/\/www.php.net\/manual\/en\/function.include.php\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">include<\/a><\/b>.<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0438\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044f \u043f\u043e\u043c\u0438\u043b\u043a\u0438 &#8220;Fatal error: Cannot redeclare&#8221;<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[202],"tags":[],"class_list":["post-433","post","type-post","status-publish","format-standard","hentry","category-202"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583195-how-to-fix-the-php-cannot-redeclare-error-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583195-como-reparar-el-error-fatal-de-php-no-se-puede-volver-a-declarar-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583195-comment-reparer-php-fatal-error-cannot-redeclare-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583195-bagaimana-cara-memperbaiki-error-php-fatal-error-cannot-redeclare-di-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/1583195-como-corrigir-o-erro-fatal-error-cannot-redeclare-function-no-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583195----php-cannot-redeclare-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/comments?post=433"}],"version-history":[{"count":0,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/433\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/media?parent=433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/categories?post=433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/tags?post=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}