{"id":118649,"date":"2025-08-24T17:38:34","date_gmt":"2025-08-24T10:38:34","guid":{"rendered":"https:\/\/tino.vn\/blog\/?p=118649"},"modified":"2025-08-24T17:38:59","modified_gmt":"2025-08-24T10:38:59","slug":"sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn s\u1eeda l\u1ed7i &#8220;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&#8221; trong WordPress"},"content":{"rendered":"\n<p><strong>Trong qu\u00e1 tr\u00ecnh qu\u1ea3n tr\u1ecb website<a href=\"https:\/\/tino.vn\/blog\/wordpress-la-gi\/\" target=\"_blank\" data-type=\"post\" data-id=\"15589\" rel=\"noreferrer noopener\"> WordPress<\/a>, kh\u00f4ng \u00edt l\u1ea7n b\u1ea1n s\u1ebd g\u1eb7p th\u00f4ng b\u00e1o &#8220;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&#8221;, khi\u1ebfn trang web kh\u00f4ng th\u1ec3 truy c\u1eadp v\u00e0 \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng. H\u00e3y c\u00f9ng Tino kh\u00e1m ph\u00e1 c\u00e1c nguy\u00ean nh\u00e2n ph\u1ed5 bi\u1ebfn v\u00e0 c\u00e1ch s\u1eeda l\u1ed7i \u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y trong WordPress qua b\u00e0i vi\u1ebft d\u01b0\u1edbi \u0111\u00e2y nh\u00e9!<\/strong><\/p>\n\n\n\n<h2 id=\"L\u1ed7i_&#8220;\u0110\u00e3_c\u00f3_m\u1ed9t_l\u1ed7i_nghi\u00eam_tr\u1ecdng_tr\u00ean_trang_web_n\u00e0y&#8221;_l\u00e0_g\u00ec?\"><a id=\"post-118649-_vl3t9wc5fz7m\"><\/a>L\u1ed7i &#8220;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&#8221; l\u00e0 g\u00ec?<\/h2>\n\n\n\n<p>L\u1ed7i &#8220;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&#8221; (<strong>There Has Been a Critical Error on This Website<\/strong>) l\u00e0 m\u1ed9t th\u00f4ng b\u00e1o xu\u1ea5t hi\u1ec7n khi trang web WordPress g\u1eb7p ph\u1ea3i m\u1ed9t v\u1ea5n \u0111\u1ec1 nghi\u00eam tr\u1ecdng khi\u1ebfn n\u00f3 kh\u00f4ng th\u1ec3 ho\u1ea1t \u0111\u1ed9ng b\u00ecnh th\u01b0\u1eddng.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-1.png\" alt=\"L\u1ed7i &quot;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&quot; l\u00e0 g\u00ec?\" class=\"wp-image-118669\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-1.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-1-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>L\u1ed7i &#8220;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&#8221; l\u00e0 g\u00ec?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>L\u1ed7i n\u00e0y th\u01b0\u1eddng li\u00ean quan \u0111\u1ebfn c\u00e1c s\u1ef1 c\u1ed1 nh\u01b0 xung \u0111\u1ed9t plugin, theme kh\u00f4ng t\u01b0\u01a1ng th\u00edch, ho\u1eb7c m\u00e3 ngu\u1ed3n b\u1ecb h\u1ecfng. Khi g\u1eb7p l\u1ed7i, ng\u01b0\u1eddi d\u00f9ng s\u1ebd kh\u00f4ng th\u1ec3 truy c\u1eadp v\u00e0o ph\u1ea7n qu\u1ea3n tr\u1ecb (admin dashboard) ho\u1eb7c giao di\u1ec7n ch\u00ednh c\u1ee7a website. Th\u00f4ng b\u00e1o l\u1ed7i th\u01b0\u1eddng kh\u00f4ng cung c\u1ea5p chi ti\u1ebft c\u1ee5 th\u1ec3 v\u1ec1 nguy\u00ean nh\u00e2n g\u1ed1c r\u1ec5.<\/p>\n\n\n\n<h3 id=\"M\u1ed9t_s\u1ed1_nguy\u00ean_nh\u00e2n_ph\u1ed5_bi\u1ebfn_g\u00e2y_ra_l\u1ed7i_&#8220;\u0110\u00e3_c\u00f3_m\u1ed9t_l\u1ed7i_nghi\u00eam_tr\u1ecdng_tr\u00ean_trang_web_n\u00e0y&#8221;\"><a id=\"post-118649-_ep0qghmkb57d\"><\/a><strong>M\u1ed9t s\u1ed1 nguy\u00ean nh\u00e2n ph\u1ed5 bi\u1ebfn g\u00e2y ra l\u1ed7i &#8220;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&#8221;<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Xung \u0111\u1ed9t plugin ho\u1eb7c theme:<\/strong> Khi c\u00e0i \u0111\u1eb7t ho\u1eb7c c\u1eadp nh\u1eadt plugin, theme kh\u00f4ng t\u01b0\u01a1ng th\u00edch v\u1edbi phi\u00ean b\u1ea3n WordPress ho\u1eb7c xung \u0111\u1ed9t l\u1eabn nhau.<\/li>\n\n\n\n<li><strong>L\u1ed7i trong file functions.php c\u1ee7a theme: <\/strong>File functions.php trong theme b\u1ecb ch\u1ec9nh s\u1eeda sai c\u00e1ch, ch\u1eb3ng h\u1ea1n th\u00eam m\u00e3 code kh\u00f4ng h\u1ee3p l\u1ec7 ho\u1eb7c thi\u1ebfu d\u1ea5u ch\u1ea5m ph\u1ea9y (;) trong c\u00fa ph\u00e1p PHP.<\/li>\n\n\n\n<li><strong>Gi\u1edbi h\u1ea1n t\u00e0i nguy\u00ean PHP (Memory Limit, Time Limit):<\/strong> Hosting c\u1ea5u h\u00ecnh t\u00e0i nguy\u00ean th\u1ea5p (nh\u01b0 dung l\u01b0\u1ee3ng b\u1ed9 nh\u1edb PHP ho\u1eb7c th\u1eddi gian th\u1ef1c thi script), khi\u1ebfn website kh\u00f4ng \u0111\u1ee7 t\u00e0i nguy\u00ean \u0111\u1ec3 ho\u1ea1t \u0111\u1ed9ng.<\/li>\n\n\n\n<li><strong>L\u1ed7i c\u01a1 s\u1edf d\u1eef li\u1ec7u (Database):<\/strong> C\u01a1 s\u1edf d\u1eef li\u1ec7u c\u1ee7a WordPress b\u1ecb h\u1ecfng ho\u1eb7c thi\u1ebfu d\u1eef li\u1ec7u quan tr\u1ecdng sau khi th\u1ef1c hi\u1ec7n c\u00e1c thao t\u00e1c nh\u01b0 di chuy\u1ec3n hosting, c\u1eadp nh\u1eadt plugin ho\u1eb7c t\u1ea5n c\u00f4ng b\u1ea3o m\u1eadt.<\/li>\n\n\n\n<li><strong>Phi\u00ean b\u1ea3n PHP kh\u00f4ng h\u1ed7 tr\u1ee3:<\/strong> Hosting s\u1eed d\u1ee5ng phi\u00ean b\u1ea3n PHP c\u0169 kh\u00f4ng t\u01b0\u01a1ng th\u00edch v\u1edbi y\u00eau c\u1ea7u c\u1ee7a WordPress ho\u1eb7c c\u00e1c plugin\/theme.<\/li>\n\n\n\n<li><strong>C\u1eadp nh\u1eadt WordPress kh\u00f4ng th\u00e0nh c\u00f4ng:<\/strong> Qu\u00e1 tr\u00ecnh c\u1eadp nh\u1eadt WordPress b\u1ecb gi\u00e1n \u0111o\u1ea1n do k\u1ebft n\u1ed1i internet k\u00e9m, dung l\u01b0\u1ee3ng hosting kh\u00f4ng \u0111\u1ee7 ho\u1eb7c quy\u1ec1n truy c\u1eadp th\u01b0 m\u1ee5c b\u1ecb h\u1ea1n ch\u1ebf.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-2.png\" alt=\"M\u1ed9t s\u1ed1 nguy\u00ean nh\u00e2n ph\u1ed5 bi\u1ebfn g\u00e2y ra l\u1ed7i &quot;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&quot;\" class=\"wp-image-118670\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-2.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-2-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>M\u1ed9t s\u1ed1 nguy\u00ean nh\u00e2n ph\u1ed5 bi\u1ebfn g\u00e2y ra l\u1ed7i &#8220;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&#8221;<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h2 id=\"7_c\u00e1ch_s\u1eeda_l\u1ed7i_\u0110\u00e3_c\u00f3_m\u1ed9t_l\u1ed7i_nghi\u00eam_tr\u1ecdng_tr\u00ean_trang_web_n\u00e0y_trong_WordPress\">7 c\u00e1ch s\u1eeda l\u1ed7i \u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y trong WordPress<\/h2>\n\n\n\n<h3 id=\"1._Ki\u1ec3m_tra_nh\u1eadt_k\u00fd_l\u1ed7i_(Error_Log)\"><a id=\"post-118649-_jxdhz2lty094\"><\/a><strong>1. Ki\u1ec3m tra nh\u1eadt k\u00fd l\u1ed7i (Error Log)<\/strong><\/h3>\n\n\n\n<p>Ph\u01b0\u01a1ng ph\u00e1p \u0111\u1ea7u ti\u00ean l\u00e0 ki\u1ec3m tra file error_log, n\u01a1i l\u01b0u tr\u1eef th\u00f4ng tin v\u1ec1 c\u00e1c l\u1ed7i PHP.<\/p>\n\n\n\n<p>C\u00e1ch th\u1ef1c hi\u1ec7n:<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 1: <\/strong>Truy c\u1eadp v\u00e0o tr\u00ecnh qu\u1ea3n l\u00fd file c\u1ee7a hosting (File Manager) ho\u1eb7c s\u1eed d\u1ee5ng FTP client nh\u01b0 FileZilla.<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 2:<\/strong> T\u00ecm \u0111\u1ebfn \u0111\u01b0\u1eddng d\u1eabn: home\/[t\u00ean ng\u01b0\u1eddi d\u00f9ng]\/.logs\/error_log_[t\u00ean mi\u1ec1n].<\/p>\n\n\n\n<p>Ho\u1eb7c v\u00e0o th\u01b0 m\u1ee5c<strong> Public_html<\/strong> -&gt;<strong> wp-admin <\/strong>-&gt; t\u00ecm file<strong> error_log<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-3.png\" alt=\"Ki\u1ec3m tra nh\u1eadt k\u00fd l\u1ed7i (Error Log)\" class=\"wp-image-118671\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-3.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-3-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m tra nh\u1eadt k\u00fd l\u1ed7i (Error Log)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Trong file n\u00e0y s\u1ebd c\u00f3 4 lo\u1ea1i l\u1ed7i PHP ch\u00ednh:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Warning (C\u1ea3nh b\u00e1o)<\/strong><\/li>\n\n\n\n<li><strong>Notice (Th\u00f4ng b\u00e1o)<\/strong><\/li>\n\n\n\n<li><strong>Parse Error (L\u1ed7i ph\u00e2n t\u00edch c\u00fa ph\u00e1p)<\/strong><\/li>\n\n\n\n<li><strong>Fatal Error (L\u1ed7i nghi\u00eam tr\u1ecdng)<\/strong><\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-4.png\" alt=\"Ki\u1ec3m tra nh\u1eadt k\u00fd l\u1ed7i (Error Log)\" class=\"wp-image-118672\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-4.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-4-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m tra nh\u1eadt k\u00fd l\u1ed7i (Error Log)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>N\u1ebfu th\u1ea5y l\u1ed7i <strong>Parse Error<\/strong> ho\u1eb7c <strong>Fatal Error<\/strong>, b\u1ea1n c\u1ea7n x\u1eed l\u00fd ngay.<\/p>\n\n\n\n<p><strong>L\u01b0u \u00fd:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>N\u1ebfu kh\u00f4ng t\u00ecm th\u1ea5y file error_log, h\u00e3y <a href=\"http:\/\/tino.vn\" target=\"_blank\" data-type=\"link\" data-id=\"tino.vn\" rel=\"noreferrer noopener\">li\u00ean h\u1ec7 nh\u00e0 cung c\u1ea5p hosting<\/a> \u0111\u1ec3 h\u1ed7 tr\u1ee3 b\u1eadt t\u00ednh n\u0103ng ghi log PHP.<\/li>\n\n\n\n<li>Trong tr\u01b0\u1eddng h\u1ee3p hosting s\u1eed d\u1ee5ng cPanel v\u00e0 quy\u1ec1n truy c\u1eadp, v\u00e0o <strong>Select PHP Version<\/strong> -> tab <strong>Option<\/strong> v\u00e0 b\u1eadt t\u00f9y ch\u1ecdn <strong>logErrors<\/strong> \u0111\u1ec3 k\u00edch ho\u1ea1t t\u00ednh n\u0103ng ghi l\u1ed7i.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-5.png\" alt=\"Ki\u1ec3m tra nh\u1eadt k\u00fd l\u1ed7i (Error Log)\" class=\"wp-image-118674\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-5.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-5-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m tra nh\u1eadt k\u00fd l\u1ed7i (Error Log)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h3 id=\"2._K\u00edch_ho\u1ea1t_ch\u1ebf_\u0111\u1ed9_g\u1ee1_l\u1ed7i_(Debug)_c\u1ee7a_WordPress\"><a id=\"post-118649-_kqz4n0m9i0hh\"><\/a><strong>2. K\u00edch ho\u1ea1t ch\u1ebf \u0111\u1ed9 g\u1ee1 l\u1ed7i (Debug) c\u1ee7a WordPress<\/strong><\/h3>\n\n\n\n<p>WordPress c\u00f3 s\u1eb5n ch\u1ebf \u0111\u1ed9 g\u1ee1 l\u1ed7i gi\u00fap ph\u00e1t hi\u1ec7n l\u1ed7i trong code c\u1ee7a theme, plugin ho\u1eb7c core.<\/p>\n\n\n\n<p>C\u00e1ch k\u00edch ho\u1ea1t:<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 1: <\/strong>M\u1edf file <strong>wp-config.php <\/strong>trong th\u01b0 m\u1ee5c <strong>public_html<\/strong>.<\/p>\n\n\n\n<p>B\u1ea1n c\u00f3 th\u1ec3 truy c\u1eadp th\u01b0 m\u1ee5c public_html th\u00f4ng qua FTP ho\u1eb7c File Manager t\u1eeb b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n c\u1ee7a hosting.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-6.png\" alt=\"K\u00edch ho\u1ea1t ch\u1ebf \u0111\u1ed9 g\u1ee1 l\u1ed7i (Debug) c\u1ee7a WordPress\" class=\"wp-image-118673\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-6.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-6-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>K\u00edch ho\u1ea1t ch\u1ebf \u0111\u1ed9 g\u1ee1 l\u1ed7i (Debug) c\u1ee7a WordPress<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 2: <\/strong>T\u00ecm v\u00e0 ch\u1ec9nh s\u1eeda c\u00e1c d\u00f2ng sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'WP_DEBUG', true );\n\ndefine( 'WP_DEBUG_DISPLAY', true );\n\ndefine( 'WP_DEBUG_LOG', true );\n\ndefine( 'SCRIPT_DEBUG', true );<\/code><\/pre>\n\n\n\n<p>\u00dd ngh\u0129a c\u1ee7a t\u1eebng d\u00f2ng:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>WP_DEBUG: <\/strong>B\u1eadt ch\u1ebf \u0111\u1ed9 g\u1ee1 l\u1ed7i.<\/li>\n\n\n\n<li><strong>WP_DEBUG_DISPLAY:<\/strong> Hi\u1ec3n th\u1ecb l\u1ed7i tr\u1ef1c ti\u1ebfp tr\u00ean trang web.<\/li>\n\n\n\n<li><strong>WP_DEBUG_LOG:<\/strong> Ghi l\u1ea1i chi ti\u1ebft l\u1ed7i trong file debug.log n\u1eb1m trong th\u01b0 m\u1ee5c wp-content.<\/li>\n\n\n\n<li><strong>SCRIPT_DEBUG: <\/strong>Ch\u1ea1y phi\u00ean b\u1ea3n CSS v\u00e0 JS ch\u01b0a n\u00e9n \u0111\u1ec3 d\u1ec5 ki\u1ec3m tra l\u1ed7i.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-7.png\" alt=\"K\u00edch ho\u1ea1t ch\u1ebf \u0111\u1ed9 g\u1ee1 l\u1ed7i (Debug) c\u1ee7a WordPress\" class=\"wp-image-118675\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-7.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-7-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>K\u00edch ho\u1ea1t ch\u1ebf \u0111\u1ed9 g\u1ee1 l\u1ed7i (Debug) c\u1ee7a WordPress<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>N\u1ebfu kh\u00f4ng th\u1ea5y, b\u1ea1n c\u00f3 th\u1ec3 th\u00eam v\u00e0o file.<\/p>\n\n\n\n<p>Sau khi s\u1eeda l\u1ed7i xong, h\u00e3y chuy\u1ec3n c\u00e1c gi\u00e1 tr\u1ecb v\u1ec1 false \u0111\u1ec3 t\u1eaft ch\u1ebf \u0111\u1ed9 debug v\u00e0 \u0111\u1ea3m b\u1ea3o website ho\u1ea1t \u0111\u1ed9ng m\u01b0\u1ee3t m\u00e0.<\/p>\n\n\n\n<h3 id=\"3._Ki\u1ec3m_tra_xung_\u0111\u1ed9t_theme_v\u00e0_plugin\"><a id=\"post-118649-_4693d9l5o4dg\"><\/a><strong>3. Ki\u1ec3m tra xung \u0111\u1ed9t theme v\u00e0 plugin<\/strong><\/h3>\n\n\n\n<p>Ki\u1ec3m tra theme:<\/p>\n\n\n\n<p>N\u1ebfu kh\u00f4ng v\u00e0o \u0111\u01b0\u1ee3c admin, h\u00e3y \u0111\u1ed5i t\u00ean th\u01b0 m\u1ee5c theme qua FTP ho\u1eb7c File Manager:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wp-content\/themes\/&#91;t\u00ean-theme] \u2192 V\u00ed d\u1ee5: \u0110\u1ed5i t\u00ean theme th\u00e0nh yourtheme-disabled.<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-8.png\" alt=\"Ki\u1ec3m tra xung \u0111\u1ed9t theme v\u00e0 plugin\" class=\"wp-image-118676\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-8.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-8-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m tra xung \u0111\u1ed9t theme v\u00e0 plugin<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Ki\u1ec3m tra plugin:<\/p>\n\n\n\n<p>T\u1eaft to\u00e0n b\u1ed9 plugin t\u1eeb giao di\u1ec7n WordPress (<strong>Dashboard<\/strong> -&gt; <strong>Plugin<\/strong> -&gt; <strong>All Plugin<\/strong> -&gt; ch\u1ecdn t\u1ea5t c\u1ea3 plugin -&gt; h\u1ee7y k\u00edch ho\u1ea1t)<\/p>\n\n\n\n<p>N\u1ebfu kh\u00f4ng truy c\u1eadp \u0111\u01b0\u1ee3c admin, \u0111\u1ed5i t\u00ean th\u01b0 m\u1ee5c plugin trong <strong>wp-content\/plugins<\/strong> th\u00e0nh <strong>yourplugin-disabled<\/strong> (ho\u1eb7c m\u1ed9t t\u00ean kh\u00e1c). L\u00fac n\u00e0y, t\u1ea5t c\u1ea3 plugin c\u1ee7a b\u1ea1n s\u1ebd \u0111\u01b0\u1ee3c h\u1ee7y k\u00edch ho\u1ea1t.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-9.png\" alt=\"Ki\u1ec3m tra xung \u0111\u1ed9t theme v\u00e0 plugin\" class=\"wp-image-118677\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-9.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-9-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m tra xung \u0111\u1ed9t theme v\u00e0 plugin<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Sau khi \u0111\u00e3 kh\u1eafc ph\u1ee5c l\u1ed7i th\u00e0nh c\u00f4ng, b\u1ea1n h\u00e3y k\u00edch ho\u1ea1t l\u1ea1i t\u1eebng plugin m\u1ed9t \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh ch\u00ednh x\u00e1c plugin g\u00e2y l\u1ed7i.<\/p>\n\n\n\n<h3 id=\"4._Kh\u00f4i_ph\u1ee5c_website_t\u1eeb_b\u1ea3n_sao_l\u01b0u_(Backup)\"><a id=\"post-118649-_yzwy06b49ja9\"><\/a><strong>4. Kh\u00f4i ph\u1ee5c website t\u1eeb b\u1ea3n sao l\u01b0u (Backup)<\/strong><\/h3>\n\n\n\n<p>N\u1ebfu nh\u1eefng c\u00e1ch tr\u00ean kh\u00f4ng hi\u1ec7u qu\u1ea3, h\u00e3y th\u1eed kh\u00f4i ph\u1ee5c website t\u1eeb b\u1ea3n backup. Tino s\u1ebd gi\u1edbi thi\u1ec7u cho b\u1ea1n m\u1ed9t c\u00f4ng c\u1ee5 backup c\u00f3 s\u1eb5n tr\u00ean cPanel l\u00e0 <strong><a href=\"https:\/\/www.jetbackup.com\/jetbackup\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.jetbackup.com\/jetbackup\/\" rel=\"noreferrer noopener nofollow\">JetBackup 5<\/a><\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>V\u1edbi cPanel: <\/strong>V\u00e0o <strong>File<\/strong> -> t\u00ecm <strong>JetBackup 5<\/strong> \u2192 <strong>Full Backups<\/strong> v\u00e0 ch\u1ecdn b\u1ea3n backup mu\u1ed1n kh\u00f4i ph\u1ee5c (c\u1ea3 file v\u00e0 database).<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-10.png\" alt=\"Kh\u00f4i ph\u1ee5c website t\u1eeb b\u1ea3n sao l\u01b0u (Backup)\" class=\"wp-image-118678\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-10.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-10-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Kh\u00f4i ph\u1ee5c website t\u1eeb b\u1ea3n sao l\u01b0u (Backup)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-11.png\" alt=\"Kh\u00f4i ph\u1ee5c website t\u1eeb b\u1ea3n sao l\u01b0u (Backup)\" class=\"wp-image-118679\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-11.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-11-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>Kh\u00f4i ph\u1ee5c website t\u1eeb b\u1ea3n sao l\u01b0u (Backup)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>V\u1edbi plugin nh\u01b0 UpdraftPlus<\/strong>: D\u00f9ng \u0111\u01b0\u1eddng link &#8220;<strong>recovery mode<\/strong>&#8221; t\u1eeb email l\u1ed7i \u0111\u1ec3 v\u00e0o admin v\u00e0 kh\u00f4i ph\u1ee5c d\u1eef li\u1ec7u.<\/li>\n\n\n\n<li><strong>V\u1edbi plugin All-in-One WP Migration:<\/strong> Import file backup .wpress \u0111\u1ec3 kh\u00f4i ph\u1ee5c trang web.<\/li>\n<\/ul>\n\n\n\n<h3 id=\"5._N\u00e2ng_c\u1ea5p_phi\u00ean_b\u1ea3n_PHP\"><a id=\"post-118649-_lw338t6lq0sk\"><\/a><strong>5. N\u00e2ng c\u1ea5p phi\u00ean b\u1ea3n PHP<\/strong><\/h3>\n\n\n\n<p>WordPress y\u00eau c\u1ea7u phi\u00ean b\u1ea3n PHP 7.4 tr\u1edf l\u00ean. N\u1ebfu website c\u1ee7a b\u1ea1n d\u00f9ng phi\u00ean b\u1ea3n c\u0169, h\u00e3y n\u00e2ng c\u1ea5p nh\u01b0 sau:<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 1: <\/strong>Truy c\u1eadp v\u00e0o b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n hosting (cPanel ho\u1eb7c t\u01b0\u01a1ng t\u1ef1)<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 2: <\/strong>Trong giao di\u1ec7n cPanel, t\u00ecm m\u1ee5c <strong>Software (Ph\u1ea7n m\u1ec1m) <\/strong>ho\u1eb7c s\u1eed d\u1ee5ng thanh t\u00ecm ki\u1ebfm \u1edf g\u00f3c tr\u00ean c\u00f9ng.<\/p>\n\n\n\n<p>G\u00f5 &#8220;PHP&#8221; v\u00e0 ch\u1ecdn<strong> Select PHP Version<\/strong> (ho\u1eb7c &#8220;<strong>PHP Selector<\/strong>&#8221; t\u00f9y nh\u00e0 cung c\u1ea5p).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-12.png\" alt=\"N\u00e2ng c\u1ea5p phi\u00ean b\u1ea3n PHP\" class=\"wp-image-118680\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-12.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-12-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>N\u00e2ng c\u1ea5p phi\u00ean b\u1ea3n PHP<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 3: <\/strong>Sau khi v\u00e0o m\u1ee5c &#8220;Select PHP Version&#8221;, b\u1ea1n s\u1ebd th\u1ea5y phi\u00ean b\u1ea3n PHP hi\u1ec7n t\u1ea1i m\u00e0 hosting \u0111ang s\u1eed d\u1ee5ng (v\u00ed d\u1ee5: 7.4, 8.0, 8.1, ho\u1eb7c 8.2).<\/p>\n\n\n\n<p>Nh\u1ea5p v\u00e0o menu th\u1ea3 xu\u1ed1ng b\u00ean c\u1ea1nh<strong> Current PHP Version<\/strong> \u0111\u1ec3 xem danh s\u00e1ch c\u00e1c phi\u00ean b\u1ea3n PHP kh\u1ea3 d\u1ee5ng. Sau \u0111\u00f3, ch\u1ecdn phi\u00ean b\u1ea3n m\u1edbi nh\u1ea5t m\u00e0 hosting h\u1ed7 tr\u1ee3.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-13.png\" alt=\"N\u00e2ng c\u1ea5p phi\u00ean b\u1ea3n PHP\" class=\"wp-image-118681\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-13.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-13-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>N\u00e2ng c\u1ea5p phi\u00ean b\u1ea3n PHP<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Nh\u1ea5n <strong>Apply<\/strong> \u0111\u1ec3 \u00e1p d\u1ee5ng.<\/p>\n\n\n\n<p><strong>L\u01b0u \u00fd:<\/strong> Phi\u00ean b\u1ea3n PHP c\u00e0ng m\u1edbi s\u1ebd gi\u00fap website nhanh v\u00e0 b\u1ea3o m\u1eadt h\u01a1n.<\/p>\n\n\n\n<h3 id=\"6._C\u00e0i_l\u1ea1i_core_WordPress\"><a id=\"post-118649-_j9adj4cs90vl\"><\/a><strong>6. C\u00e0i l\u1ea1i core WordPress<\/strong><\/h3>\n\n\n\n<p>N\u1ebfu file l\u00f5i c\u1ee7a WordPress b\u1ecb l\u1ed7i, h\u00e3y t\u1ea3i l\u1ea1i nh\u01b0 sau:<\/p>\n\n\n\n<p>V\u00e0o<strong> Dashboard<\/strong> \u2192 ch\u1ecdn <strong>Updates<\/strong> v\u00e0 nh\u1ea5n n\u00fat <strong>Re-install WordPress.<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-14.png\" alt=\"C\u00e0i l\u1ea1i core WordPress\" class=\"wp-image-118682\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-14.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-14-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e0i l\u1ea1i core WordPress<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>N\u1ebfu kh\u00f4ng v\u00e0o \u0111\u01b0\u1ee3c admin, h\u00e3y t\u1ea3i b\u1ed9 c\u00e0i t\u1eeb WordPress.org v\u00e0 upload l\u00ean host (tr\u1eeb th\u01b0 m\u1ee5c <strong>wp-content<\/strong>).<\/p>\n\n\n\n<p>Trong tr\u01b0\u1eddng h\u1ee3p b\u1ea1n c\u00f3 quy\u1ec1n truy c\u1eadp SSH, d\u00f9ng l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd domains\/yourdomain.com\/public_html\/\n\nwp core download --skip-content --force<\/code><\/pre>\n\n\n\n<h3 id=\"7._T\u0103ng_gi\u1edbi_h\u1ea1n_b\u1ed9_nh\u1edb_PHP_(Memory_Limit)\"><a id=\"post-118649-_hmm4qe8bgf3g\"><\/a><strong>7. T\u0103ng gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb PHP (Memory Limit)<\/strong><\/h3>\n\n\n\n<p>Tr\u01b0\u1edbc ti\u00ean, c\u1ea7n \u0111\u1ea3m b\u1ea3o kh\u00f4ng v\u01b0\u1ee3t qu\u00e1 gi\u1edbi h\u1ea1n t\u1ed1i \u0111a m\u00e0 nh\u00e0 cung c\u1ea5p d\u1ecbch v\u1ee5 l\u01b0u tr\u1eef \u0111\u00e3 c\u1ea5p cho g\u00f3i c\u1ee7a b\u1ea1n. N\u1ebfu kh\u00f4ng r\u00f5 gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb c\u1ee7a g\u00f3i, b\u1ea1n n\u00ean li\u00ean h\u1ec7 v\u1edbi \u0111\u1ed9i ng\u0169 h\u1ed7 tr\u1ee3 ho\u1eb7c ki\u1ec3m tra t\u00e0i li\u1ec7u d\u1ecbch v\u1ee5.<\/p>\n\n\n\n<p>\u0110\u1ec3 t\u0103ng dung l\u01b0\u1ee3ng b\u1ed9 nh\u1edb, b\u1ea1n th\u1ef1c hi\u1ec7n c\u00e1c b\u01b0\u1edbc sau:<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 1:<\/strong> Truy c\u1eadp <strong>cPanel<\/strong> v\u00e0 ch\u1ecdn <strong>Select PHP Version<\/strong> trong ph\u1ea7n <strong>Software<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-15.png\" alt=\"T\u0103ng gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb PHP (Memory Limit)\" class=\"wp-image-118683\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-15.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-15-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>T\u0103ng gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb PHP (Memory Limit)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 2:<\/strong> Chuy\u1ec3n qua tab <strong>PHP Options<\/strong>.<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 3:<\/strong> T\u1ea1i \u0111\u00e2y, b\u1ea1n t\u00ecm m\u1ee5c <strong>memory_limit <\/strong>v\u00e0 chuy\u1ec3n gi\u1edbi h\u1ea1n sang 512M ho\u1eb7c cao h\u01a1n.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-16.png\" alt=\"T\u0103ng gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb PHP (Memory Limit)\" class=\"wp-image-118684\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-16.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-16-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>T\u0103ng gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb PHP (Memory Limit)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Ngo\u00e0i c\u00e1ch tr\u00ean, b\u1ea1n c\u00f3 th\u1ec3 m\u1edf file wp-config.php trong File Manager.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-17.png\" alt=\"T\u0103ng gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb PHP (Memory Limit)\" class=\"wp-image-118685\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-17.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-17-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>T\u0103ng gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb PHP (Memory Limit)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Sau \u0111\u00f3, th\u00eam d\u00f2ng code sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define('WP_MEMORY_LIMIT', '512M');<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"400\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-18.png\" alt=\"T\u0103ng gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb PHP (Memory Limit)\" class=\"wp-image-118686\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-18.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/08\/sua-loi-da-co-mot-loi-nghiem-trong-tren-trang-web-nay-18-300x171.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>T\u0103ng gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb PHP (Memory Limit)<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>L\u01b0u \u00fd:<\/strong> N\u1ebfu \u0111\u00e3 \u0111\u1ea1t gi\u1edbi h\u1ea1n t\u1ed1i \u0111a, c\u00f3 th\u1ec3 b\u1ea1n c\u1ea7n n\u00e2ng c\u1ea5p g\u00f3i hosting.<\/p>\n\n\n\n<h3 id=\"K\u1ebft_lu\u1eadn\"><a id=\"post-118649-_wllh336l2cdr\"><\/a><strong>K\u1ebft lu\u1eadn<\/strong><\/h3>\n\n\n\n<p>Vi\u1ec7c g\u1eb7p l\u1ed7i &#8220;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&#8221; WordPress c\u00f3 th\u1ec3 khi\u1ebfn b\u1ea1n hoang mang, nh\u01b0ng n\u1ebfu hi\u1ec3u r\u00f5 nguy\u00ean nh\u00e2n v\u00e0 \u00e1p d\u1ee5ng c\u00e1c ph\u01b0\u01a1ng ph\u00e1p m\u00ecnh v\u1eeba h\u01b0\u1edbng d\u1eabn, b\u1ea1n ho\u00e0n to\u00e0n c\u00f3 th\u1ec3 x\u1eed l\u00fd l\u1ed7i n\u00e0y d\u1ec5 d\u00e0ng. H\u00e3y lu\u00f4n \u0111\u1ea3m b\u1ea3o website c\u1ee7a b\u1ea1n c\u00f3 b\u1ea3n sao l\u01b0u \u0111\u1ecbnh k\u1ef3 v\u00e0 ki\u1ec3m tra c\u1ea9n th\u1eadn khi c\u00e0i \u0111\u1eb7t plugin, theme m\u1edbi \u0111\u1ec3 h\u1ea1n ch\u1ebf l\u1ed7i x\u1ea3y ra. Ch\u00fac b\u1ea1n th\u00e0nh c\u00f4ng!<\/p>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\"><a id=\"post-118649-_mkkez7gd5tx0\"><\/a>Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"L\u1ed7i_&quot;\u0110\u00e3_c\u00f3_m\u1ed9t_l\u1ed7i_nghi\u00eam_tr\u1ecdng_tr\u00ean_trang_web_n\u00e0y&quot;_c\u00f3_ph\u1ea3i_do_virus_ho\u1eb7c_hacker_kh\u00f4ng?\">L\u1ed7i &quot;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&quot; c\u00f3 ph\u1ea3i do virus ho\u1eb7c hacker kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>Kh\u00f4ng h\u1eb3n. Ph\u1ea7n l\u1edbn l\u1ed7i n\u00e0y \u0111\u1ebfn t\u1eeb plugin, giao di\u1ec7n ho\u1eb7c c\u00e0i \u0111\u1eb7t sai. Tuy nhi\u00ean, n\u1ebfu nghi ng\u1edd trang b\u1ecb t\u1ea5n c\u00f4ng, b\u1ea1n n\u00ean qu\u00e9t m\u00e3 \u0111\u1ed9c b\u1eb1ng c\u00e1c plugin b\u1ea3o m\u1eadt nh\u01b0 Sucuri, Wordfence.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"L\u1ed7i_n\u00e0y_c\u00f3_th\u1ec3_do_hosting_kh\u00f4ng?\">L\u1ed7i n\u00e0y c\u00f3 th\u1ec3 do hosting kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>C\u00f3 th\u1ec3, n\u1ebfu hosting \u0111\u1eb7t gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb PHP qu\u00e1 th\u1ea5p ho\u1eb7c d\u00f9ng phi\u00ean b\u1ea3n PHP c\u0169 (d\u01b0\u1edbi 7.4) s\u1ebd d\u1ec5 x\u1ea3y ra l\u1ed7i n\u00e0y.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"L\u1ed7i_n\u00e0y_c\u00f3_\u1ea3nh_h\u01b0\u1edfng_\u0111\u1ebfn_SEO_kh\u00f4ng?\">L\u1ed7i n\u00e0y c\u00f3 \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn SEO kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>L\u1ed7i &#8220;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&#8221; r\u1ea5t nguy hi\u1ec3m v\u00ec n\u00f3 khi\u1ebfn trang web kh\u00f4ng th\u1ec3 truy c\u1eadp \u0111\u01b0\u1ee3c, d\u1eabn \u0111\u1ebfn:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>N\u1ebfu l\u1ed7i k\u00e9o d\u00e0i, Google c\u00f3 th\u1ec3 lo\u1ea1i b\u1ecf trang web kh\u1ecfi k\u1ebft qu\u1ea3 t\u00ecm ki\u1ebfm.<\/li>\n\n\n\n<li>Ng\u01b0\u1eddi d\u00f9ng kh\u00f4ng th\u1ec3 xem n\u1ed9i dung ho\u1eb7c th\u1ef1c hi\u1ec7n h\u00e0nh \u0111\u1ed9ng tr\u00ean trang.<\/li>\n\n\n\n<li>Googlebot kh\u00f4ng th\u1ec3 thu th\u1eadp d\u1eef li\u1ec7u (crawl) trang web, d\u1eabn \u0111\u1ebfn gi\u1ea3m th\u1ee9 h\u1ea1ng SEO.<\/li>\n<\/ul>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"L\u00e0m_sao_\u0111\u1ec3_tr\u00e1nh_l\u1ed7i_n\u00e0y_trong_t\u01b0\u01a1ng_lai?\">L\u00e0m sao \u0111\u1ec3 tr\u00e1nh l\u1ed7i n\u00e0y trong t\u01b0\u01a1ng lai?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>\u0110\u1ec3 tr\u00e1nh l\u1ed7i &#8220;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&#8221; trong t\u01b0\u01a1ng lai, b\u1ea1n n\u00ean c\u1eadp nh\u1eadt th\u01b0\u1eddng xuy\u00ean WordPress, plugin v\u00e0 theme, \u0111\u1ed3ng th\u1eddi, sao l\u01b0u \u0111\u1ecbnh k\u1ef3 c\u0169ng nh\u01b0 tr\u00e1nh d\u00f9ng plugin\/ch\u1ee7 \u0111\u1ec1 kh\u00f4ng r\u00f5 ngu\u1ed3n g\u1ed1c.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"N\u1ebfu_kh\u00f4ng_kh\u1eafc_ph\u1ee5c_\u0111\u01b0\u1ee3c_b\u1eb1ng_nh\u1eefng_c\u00e1ch_tr\u00ean_th\u00ec_ph\u1ea3i_l\u00e0m_sao?\">N\u1ebfu kh\u00f4ng kh\u1eafc ph\u1ee5c \u0111\u01b0\u1ee3c b\u1eb1ng nh\u1eefng c\u00e1ch tr\u00ean th\u00ec ph\u1ea3i l\u00e0m sao?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>N\u1ebfu kh\u00f4ng t\u1ef1 kh\u1eafc ph\u1ee5c \u0111\u01b0\u1ee3c l\u1ed7i b\u1eb1ng nh\u1eefng c\u00e1ch tr\u00ean, b\u1ea1n h\u00e3y li\u00ean h\u1ec7 cho nh\u00e0 cung c\u1ea5p hosting \u0111\u1ec3 \u0111\u01b0\u1ee3c x\u1eed l\u00fd k\u1ecbp th\u1eddi nh\u00e9!<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"L\u1ed7i \\\"\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y\\\" c\u00f3 ph\u1ea3i do virus ho\u1eb7c hacker kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng h\u1eb3n. Ph\u1ea7n l\u1edbn l\u1ed7i n\u00e0y \u0111\u1ebfn t\u1eeb plugin, giao di\u1ec7n ho\u1eb7c c\u00e0i \u0111\u1eb7t sai. Tuy nhi\u00ean, n\u1ebfu nghi ng\u1edd trang b\u1ecb t\u1ea5n c\u00f4ng, b\u1ea1n n\u00ean qu\u00e9t m\u00e3 \u0111\u1ed9c b\u1eb1ng c\u00e1c plugin b\u1ea3o m\u1eadt nh\u01b0 Sucuri, Wordfence.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"L\u1ed7i n\u00e0y c\u00f3 th\u1ec3 do hosting kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>C\u00f3 th\u1ec3, n\u1ebfu hosting \u0111\u1eb7t gi\u1edbi h\u1ea1n b\u1ed9 nh\u1edb PHP qu\u00e1 th\u1ea5p ho\u1eb7c d\u00f9ng phi\u00ean b\u1ea3n PHP c\u0169 (d\u01b0\u1edbi 7.4) s\u1ebd d\u1ec5 x\u1ea3y ra l\u1ed7i n\u00e0y.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"L\u1ed7i n\u00e0y c\u00f3 \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn SEO kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>L\u1ed7i \\\"\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y\\\" r\u1ea5t nguy hi\u1ec3m v\u00ec n\u00f3 khi\u1ebfn trang web kh\u00f4ng th\u1ec3 truy c\u1eadp \u0111\u01b0\u1ee3c, d\u1eabn \u0111\u1ebfn:<\/p><ul><li>N\u1ebfu l\u1ed7i k\u00e9o d\u00e0i, Google c\u00f3 th\u1ec3 lo\u1ea1i b\u1ecf trang web kh\u1ecfi k\u1ebft qu\u1ea3 t\u00ecm ki\u1ebfm.<\/li><li>Ng\u01b0\u1eddi d\u00f9ng kh\u00f4ng th\u1ec3 xem n\u1ed9i dung ho\u1eb7c th\u1ef1c hi\u1ec7n h\u00e0nh \u0111\u1ed9ng tr\u00ean trang.<\/li><li>Googlebot kh\u00f4ng th\u1ec3 thu th\u1eadp d\u1eef li\u1ec7u (crawl) trang web, d\u1eabn \u0111\u1ebfn gi\u1ea3m th\u1ee9 h\u1ea1ng SEO.<\/li><\/ul>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"L\u00e0m sao \u0111\u1ec3 tr\u00e1nh l\u1ed7i n\u00e0y trong t\u01b0\u01a1ng lai?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>\u0110\u1ec3 tr\u00e1nh l\u1ed7i \\\"\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y\\\" trong t\u01b0\u01a1ng lai, b\u1ea1n n\u00ean c\u1eadp nh\u1eadt th\u01b0\u1eddng xuy\u00ean WordPress, plugin v\u00e0 theme, \u0111\u1ed3ng th\u1eddi, sao l\u01b0u \u0111\u1ecbnh k\u1ef3 c\u0169ng nh\u01b0 tr\u00e1nh d\u00f9ng plugin\/ch\u1ee7 \u0111\u1ec1 kh\u00f4ng r\u00f5 ngu\u1ed3n g\u1ed1c.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"N\u1ebfu kh\u00f4ng kh\u1eafc ph\u1ee5c \u0111\u01b0\u1ee3c b\u1eb1ng nh\u1eefng c\u00e1ch tr\u00ean th\u00ec ph\u1ea3i l\u00e0m sao?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>N\u1ebfu kh\u00f4ng t\u1ef1 kh\u1eafc ph\u1ee5c \u0111\u01b0\u1ee3c l\u1ed7i b\u1eb1ng nh\u1eefng c\u00e1ch tr\u00ean, b\u1ea1n h\u00e3y li\u00ean h\u1ec7 cho nh\u00e0 cung c\u1ea5p hosting \u0111\u1ec3 \u0111\u01b0\u1ee3c x\u1eed l\u00fd k\u1ecbp th\u1eddi nh\u00e9!<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Trong qu\u00e1 tr\u00ecnh qu\u1ea3n tr\u1ecb website WordPress, kh\u00f4ng \u00edt l\u1ea7n b\u1ea1n s\u1ebd g\u1eb7p th\u00f4ng b\u00e1o &#8220;\u0110\u00e3 c\u00f3 m\u1ed9t l\u1ed7i nghi\u00eam tr\u1ecdng tr\u00ean trang web n\u00e0y&#8221;, khi\u1ebfn trang web kh\u00f4ng th\u1ec3 truy c\u1eadp v\u00e0 \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng. H\u00e3y c\u00f9ng Tino kh\u00e1m ph\u00e1 c\u00e1c nguy\u00ean nh\u00e2n ph\u1ed5 bi\u1ebfn v\u00e0 c\u00e1ch s\u1eeda l\u1ed7i \u0110\u00e3 [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":118687,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7382],"tags":[7400],"class_list":["post-118649","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sua-loi-wordpress","tag-sua-loi-wordpress"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/118649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=118649"}],"version-history":[{"count":3,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/118649\/revisions"}],"predecessor-version":[{"id":118690,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/118649\/revisions\/118690"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/118687"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=118649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=118649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=118649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}