{"id":141,"date":"2024-03-14T20:35:21","date_gmt":"2024-03-14T20:35:21","guid":{"rendered":"https:\/\/blog.hostinger.io\/uk\/support\/2024\/03\/14\/5157262-%d1%8f%d0%ba-%d1%83%d0%b2%d1%96%d0%bc%d0%ba%d0%bd%d1%83%d1%82%d0%b8-wp_debug-%d0%b2-hostinger\/"},"modified":"2026-05-09T12:16:40","modified_gmt":"2026-05-09T12:16:40","slug":"5157262-%d1%8f%d0%ba-%d1%83%d0%b2%d1%96%d0%bc%d0%ba%d0%bd%d1%83%d1%82%d0%b8-wp_debug-%d0%b2-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/ua\/support\/5157262-%d1%8f%d0%ba-%d1%83%d0%b2%d1%96%d0%bc%d0%ba%d0%bd%d1%83%d1%82%d0%b8-wp_debug-%d0%b2-hostinger\/","title":{"rendered":"\u042f\u043a \u0423\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 WP_DEBUG \u0432 Hostinger?"},"content":{"rendered":"<p class=\"no-margin\">\u042f\u043a\u0449\u043e \u0412\u0438 \u0445\u043e\u0447\u0435\u0442\u0435 \u043a\u0440\u0430\u0449\u0435 \u0437\u0440\u043e\u0437\u0443\u043c\u0456\u0442\u0438 \u043f\u043e\u043c\u0438\u043b\u043a\u0438, \u0449\u043e \u0437\u2019\u044f\u0432\u043b\u044f\u044e\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0456 \u0430\u0431\u043e \u0439\u043e\u0433\u043e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430\u0445, \u0412\u0430\u043c \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0435 \u0440\u0435\u0436\u0438\u043c \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f WordPress! <\/p>\n<p class=\"no-margin\">\n<div class=\"intercom-h2b-video\">\n<iframe loading=\"lazy\" title=\"How to Check Your WordPress Error Log\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Ypt5lLkGXo4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div>\n<hr>\n<p class=\"no-margin\">\u041f\u043b\u0430\u0433\u0456\u043d WP_DEBUG \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u0454 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044e \u043f\u0440\u043e \u0431\u0443\u0434\u044c-\u044f\u043a\u0443 \u043c\u043e\u0436\u043b\u0438\u0432\u0443 \u043f\u043e\u043c\u0438\u043b\u043a\u0443 \u043d\u0430 \u0441\u0430\u0439\u0442\u0456. \u0429\u043e\u0431 \u0443\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0439\u043e\u0433\u043e, \u0432\u0456\u0434\u043a\u0440\u0438\u0439\u0442\u0435 \u0440\u043e\u0437\u0434\u0456\u043b <b><a data-click-id=\"hgr-post-content-link-hpanel-hostinger-com-hosting-v2\" href=\"https:\/\/hpanel.hostinger.com\/hosting-v2\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">\u201c\u0425\u043e\u0441\u0442\u0438\u043d\u0433\u201d<\/a><\/b>, \u043d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c <b>\u201c\u041a\u0435\u0440\u0443\u0432\u0430\u0442\u0438\u201d<\/b>, \u043f\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044c \u0434\u043e <b>\u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0433\u043e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430<\/b> \u0456 \u0437\u043d\u0430\u0439\u0434\u0456\u0442\u044c \u0444\u0430\u0439\u043b <code>wp-config.php<\/code>. \u0412\u0456\u043d \u0437\u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0443 \u043f\u0430\u043f\u0446\u0456 <b>domains\/domain.tld\/public_html<\/b>, \u0434\u0435 domain.tld \u2013 \u0446\u0435 \u0412\u0430\u0448\u0435 \u0434\u043e\u043c\u0435\u043d\u043d\u0435 \u0456\u043c\u2019\u044f:<\/p>\n<p class=\"no-margin\">\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/61\/2024\/03\/7d2a4698-ce58-470e-86bf-25a6277fccfc.png\/public\" data-media-id=\"531\" alt=\"Hostinger File Manager: \u0432\u0438\u0434\u0456\u043b\u0435\u043d\u043e \u0444\u0430\u0439\u043b wp-config.php \u0443 \u043f\u0430\u043f\u0446\u0456 public_html\"><\/div>\n<h1 id=\"h_c4895e5c89\">WP_DEBUG<\/h1>\n<p class=\"no-margin\">\u0412\u0456\u0434\u043a\u0440\u0438\u0439\u0442\u0435 \u0444\u0430\u0439\u043b \u0456 \u0437\u043d\u0430\u0439\u0434\u0456\u0442\u044c \u0440\u044f\u0434\u043e\u043a \u0437 \u201cWP_DEBUG\u201d: <\/p>\n<pre><code>define( 'WP_DEBUG', false );<\/code><\/pre>\n<p class=\"no-margin\">\u0417\u043c\u0456\u043d\u0456\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f <code>false<\/code> \u043d\u0430 <code>true<\/code> \u0456 \u0437\u0431\u0435\u0440\u0435\u0436\u0456\u0442\u044c \u0437\u043c\u0456\u043d\u0438, \u0449\u043e\u0431 \u0443\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 WP_DEBUG.<\/p>\n<p class=\"no-margin\">\n<p class=\"no-margin\">\u042f\u043a\u0449\u043e \u0443 \u0412\u0430\u0448\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0456 wp-config.php \u043d\u0435\u043c\u0430\u0454 \u0442\u0430\u043a\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0430 \u043a\u043e\u0434\u0443, \u0434\u043e\u0434\u0430\u0439\u0442\u0435 \u0439\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0434 \u0446\u0438\u043c \u0440\u044f\u0434\u043a\u043e\u043c:<\/p>\n<pre><code>\/*That's all, stop editing! Happy publishing.*\/<\/code><\/pre>\n<p class=\"no-margin\">\u0426\u0435 \u0431\u0443\u0434\u0435 \u0432\u0438\u0433\u043b\u044f\u0434\u0430\u0442\u0438 \u0442\u0430\u043a:<\/p>\n<p class=\"no-margin\">\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/61\/2024\/03\/6224e268-e6bf-4067-b584-ef16d8c84a51.png\/public\" data-media-id=\"533\" alt=\"Hostinger File Manager \u0443 wp-config.php \u0432\u0438\u0434\u0456\u043b\u0435\u043d\u043e \u0440\u044f\u0434\u043e\u043a define(&#039;WP_DEBUG&#039;, true);\"><\/div>\n<h1 id=\"h_5b0cde465e\">WP_DEBUG_LOG<\/h1>\n<p class=\"no-margin\">\u0429\u043e\u0431 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0442\u0438 \u0434\u0430\u043d\u0456 \u043f\u0440\u043e \u043c\u043e\u0436\u043b\u0438\u0432\u0456 \u043f\u043e\u043c\u0438\u043b\u043a\u0438 \u043d\u0430 \u0412\u0430\u0448\u043e\u043c\u0443 \u0441\u0430\u0439\u0442\u0456, \u0443\u0432\u0456\u043c\u043a\u043d\u0456\u0442\u044c WP_DEBUG_LOG. \u0414\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0434\u043e\u0434\u0430\u0439\u0442\u0435 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u0440\u044f\u0434\u043e\u043a \u0443 <b>wp-config.php<\/b>:<\/p>\n<pre><code>define('WP_DEBUG_LOG', true);<\/code><\/pre>\n<p class=\"no-margin\">\u0414\u043e\u0434\u0430\u0439\u0442\u0435 \u0440\u044f\u0434\u043e\u043a WP_DEBUG_LOG \u043d\u0438\u0436\u0447\u0435 \u0440\u044f\u0434\u043a\u0430 WP_DEBUG. \u041e\u0441\u044c \u0456 \u0432\u0441\u0435! \u0422\u0435\u043f\u0435\u0440 \u0432\u0441\u0456 \u043f\u043e\u043c\u0438\u043b\u043a\u0438 \u0431\u0443\u0434\u0443\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0432 \u0444\u0430\u0439\u043b <b>debug.log<\/b>, \u0440\u043e\u0437\u0442\u0430\u0448\u043e\u0432\u0430\u043d\u0438\u0439 \u0432 \u043f\u0430\u043f\u0446\u0456 <b>wp-content<\/b> \u0412\u0430\u0448\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0443.<\/p>\n<p class=\"no-margin\">\n<h1 id=\"h_af48d33999\">WP_DEBUG_DISPLAY<\/h1>\n<p class=\"no-margin\">\u0425\u043e\u0447\u0430 WP_DEBUG \u0432\u043c\u0438\u043a\u0430\u0454 \u0440\u0435\u0436\u0438\u043c \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f \u043d\u0430 \u0412\u0430\u0448\u043e\u043c\u0443 \u0441\u0430\u0439\u0442\u0456, \u0449\u043e\u0431 \u043a\u0440\u0430\u0449\u0435 \u0432\u0456\u0434\u0441\u0442\u0435\u0436\u0443\u0432\u0430\u0442\u0438 \u0432\u0441\u0456 \u043c\u043e\u0436\u043b\u0438\u0432\u0456 \u043f\u043e\u043c\u0438\u043b\u043a\u0438, \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u0438\u0445\u043e\u0432\u0430\u0442\u0438 \u0457\u0445. \u042f\u043a\u0449\u043e \u0412\u0438 \u0445\u043e\u0447\u0435\u0442\u0435 \u043f\u0440\u0438\u0445\u043e\u0432\u0430\u0442\u0438 \u043f\u043e\u043c\u0438\u043b\u043a\u0438 \u0442\u0430 \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0430\u0442\u0438 \u0457\u0445 \u043b\u0438\u0448\u0435 \u0432 \u0456\u0441\u0442\u043e\u0440\u0456\u0457, \u0434\u043e\u0434\u0430\u0439\u0442\u0435 \u0446\u0435\u0439 \u0440\u044f\u0434\u043e\u043a \u043f\u0456\u0441\u043b\u044f \u0440\u044f\u0434\u043a\u0430 WP_DEBUG:<\/p>\n<pre><code>define('WP_DEBUG_DISPLAY', false);<\/code><\/pre>\n<p class=\"no-margin\">\u041e\u0441\u044c \u0456 \u0432\u0441\u0435! \u0422\u0435\u043f\u0435\u0440 \u0412\u0438 \u0437\u043d\u0430\u0454\u0442\u0435, \u044f\u043a \u0443\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0442\u0430 \u0432\u0438\u043c\u043a\u043d\u0443\u0442\u0438 \u0440\u0435\u0436\u0438\u043c \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f \u0434\u043b\u044f WordPress \ud83d\ude0a <\/p>\n<p class=\"no-margin\">\n<p class=\"no-margin\"><b>\u041f\u0420\u0418\u041c\u0406\u0422\u041a\u0418<\/b><\/p>\n<ul>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-hostinger-co-id-tutorial-wp-debug-wordpress\" href=\"https:\/\/www.hostinger.co.id\/tutorial\/wp-debug-wordpress\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">\u0429\u043e \u0442\u0430\u043a\u0435 WP DEBUG: \u0432\u0438\u0447\u0435\u0440\u043f\u043d\u0438\u0439 \u043f\u043e\u0441\u0456\u0431\u043d\u0438\u043a<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-link\" href=\"\/ua\/support\/4548688-%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%BD%D1%96-%D0%B4%D1%96%D1%97-%D0%B2-%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%BE%D0%BC%D1%83-%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80%D1%96\/\" target=\"_blank\" class=\"intercom-content-link\">\u041e\u0441\u043d\u043e\u0432\u043d\u0456 \u0434\u0456\u0457 \u0432 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u043c\u0443 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0456<\/a><\/b><\/p>\n<\/li>\n<\/ul>\n<p class=\"no-margin\">\n<p class=\"no-margin\">\n<p class=\"no-margin\">\n","protected":false},"excerpt":{"rendered":"<p>\u0423\u0432\u0456\u043c\u043a\u043d\u0435\u043d\u043d\u044f \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f \u043f\u043e\u043c\u0438\u043b\u043e\u043a \u0441\u0430\u0439\u0442\u0443 WordPress<\/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":[152],"tags":[],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category--wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/5157262-how-to-enable-wp_debug-at-hostinger","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/5157262-como-activar-wp_debug-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/5157262-comment-activer-wp_debug-chez-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/5157262-cara-mengaktifkan-wp_debug-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/5157262-como-habilitar-o-wp_debug-na-hostinger","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/5157262-\u044f\u043a-\u0443\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438-wp_debug-\u0432-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/141","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=141"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/141\/revisions"}],"predecessor-version":[{"id":1886,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/141\/revisions\/1886"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/media?parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/categories?post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/tags?post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}