{"id":2398,"date":"2025-02-22T13:59:19","date_gmt":"2025-02-22T13:59:19","guid":{"rendered":"https:\/\/kelma.io\/?p=2398"},"modified":"2026-02-19T21:15:18","modified_gmt":"2026-02-19T21:15:18","slug":"a-comprehensive-guide-to-fixing-wordpress-critical-errors","status":"publish","type":"post","link":"https:\/\/kelma.io\/ar\/blog\/a-comprehensive-guide-to-fixing-wordpress-critical-errors\/","title":{"rendered":"\u062f\u0644\u064a\u0644 \u0634\u0627\u0645\u0644 \u0644\u0625\u0635\u0644\u0627\u062d \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0627\u0644\u062d\u0631\u062c\u0629 \u0641\u064a WordPress"},"content":{"rendered":"<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h4>\u062c\u062f\u0648\u0644 \u0627\u0644\u0645\u062d\u062a\u0648\u064a\u0627\u062a<\/h4><nav><ul><li><a href=\"#h-what-causes-wordpress-critical-errors\">\u0645\u0627 \u0627\u0644\u0630\u064a \u064a\u0633\u0628\u0628 \u0623\u062e\u0637\u0627\u0621 \u062d\u0631\u062c\u0629 \u0641\u064a WordPress\u061f<\/a><\/li><li><a href=\"#h-a-comprehensive-guide-to-resolving-critical-wordpress-errors\">\u062f\u0644\u064a\u0644 \u0634\u0627\u0645\u0644 \u0644\u0625\u0635\u0644\u0627\u062d \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0627\u0644\u062d\u0631\u062c\u0629 \u0641\u064a WordPress<\/a><ul><li><a href=\"#h-looking-for-a-wordpress-experience-without-errors\">\u0647\u0644 \u062a\u0628\u062d\u062b \u0639\u0646 \u062a\u062c\u0631\u0628\u0629 \u0648\u0648\u0631\u062f\u0628\u0631\u064a\u0633 \u062e\u0627\u0644\u064a\u0629 \u0645\u0646 \u0627\u0644\u0623\u062e\u0637\u0627\u0621\u061f<\/a><\/li><\/ul><\/li><li><a href=\"#h-i-am-seeing-an-error-in-wordpress-core-files\">\u0623\u0631\u0649 \u062e\u0637\u0623 \u0641\u064a \u0645\u0644\u0641\u0627\u062a WordPress \u0627\u0644\u0627\u0633\u0627\u0633\u064a\u0629!<\/a><\/li><li><a href=\"#h-what-if-i-am-getting-memory-limit-errors\">\u0645\u0627\u0630\u0627 \u0644\u0648 \u0643\u0646\u062a \u0623\u062a\u0644\u0642\u0649 \u0623\u062e\u0637\u0627\u0621 \u062d\u062f \u0627\u0644\u0630\u0627\u0643\u0631\u0629\u061f<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<p>\u0642\u062f \u064a\u0643\u0648\u0646 \u0627\u0644\u062a\u0639\u0627\u0645\u0644 \u0645\u0639 \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0627\u0644\u062d\u0631\u062c\u0629 \u0641\u064a WordPress \u0623\u0645\u0631\u064b\u0627 \u0634\u0627\u0642\u064b\u0627\u060c \u062e\u0627\u0635\u0629\u064b \u0639\u0646\u062f\u0645\u0627 \u062a\u0648\u0641\u0631 \u0627\u0644\u0645\u0646\u0635\u0629 \u0627\u0644\u0642\u0644\u064a\u0644 \u0645\u0646 \u0627\u0644\u0633\u064a\u0627\u0642 \u062d\u0648\u0644 \u0645\u0635\u062f\u0631 \u0627\u0644\u0645\u0634\u0643\u0644\u0629. \u0641\u064a \u0647\u0630\u0647 \u0627\u0644\u0645\u0642\u0627\u0644\u0629\u060c \u0633\u0623\u0631\u0634\u062f\u0643 \u0639\u0628\u0631 \u062f\u0644\u064a\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 \u0644\u062a\u0634\u062e\u064a\u0635 \u0647\u0630\u0647 \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0648\u0625\u0635\u0644\u0627\u062d\u0647\u0627\u060c \u0648\u0636\u0645\u0627\u0646 \u0639\u0648\u062f\u0629 \u0645\u0648\u0642\u0639 WordPress \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0625\u0644\u0649 \u0627\u0644\u0639\u0645\u0644 \u0628\u0633\u0644\u0627\u0633\u0629.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-causes-wordpress-critical-errors\">\u0645\u0627 \u0627\u0644\u0630\u064a \u064a\u0633\u0628\u0628 \u0623\u062e\u0637\u0627\u0621 \u062d\u0631\u062c\u0629 \u0641\u064a WordPress\u061f <\/h2>\n\n\n\n<p>\u063a\u0627\u0644\u0628\u064b\u0627 \u0645\u0627 \u062a\u0646\u0634\u0623 \u0623\u062e\u0637\u0627\u0621 WordPress \u0627\u0644\u062d\u0631\u062c\u0629 \u0646\u062a\u064a\u062c\u0629 \u0644\u062a\u0639\u0627\u0631\u0636\u0627\u062a \u0628\u064a\u0646 \u0627\u0644\u0633\u0645\u0627\u062a \u0623\u0648 \u0627\u0644\u0645\u0643\u0648\u0646\u0627\u062a \u0627\u0644\u0625\u0636\u0627\u0641\u064a\u0629 \u0623\u0648 \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u0627\u062a \u0627\u0644\u0628\u0631\u0645\u062c\u064a\u0629 \u0627\u0644\u0645\u062e\u0635\u0635\u0629\u060c \u0645\u0645\u0627 \u064a\u0624\u062f\u064a \u0625\u0644\u0649 \u0645\u0634\u0643\u0644\u0627\u062a \u0645\u062b\u0644 \u0627\u0633\u062a\u0646\u0641\u0627\u062f \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0623\u0648 \u0641\u0634\u0644 \u0627\u062a\u0635\u0627\u0644 \u0642\u0627\u0639\u062f\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0623\u0648 \u0623\u062e\u0637\u0627\u0621 PHP. \u062a\u062d\u062f\u062b \u0647\u0630\u0647 \u0627\u0644\u062a\u0639\u0627\u0631\u0636\u0627\u062a \u0639\u0627\u062f\u0629\u064b \u0628\u0633\u0628\u0628 \u0627\u0644\u062a\u062d\u062f\u064a\u062b\u0627\u062a \u063a\u064a\u0631 \u0627\u0644\u0645\u062a\u0648\u0627\u0641\u0642\u0629 \u0623\u0648 \u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0642\u062f\u064a\u0645\u0629 \u0623\u0648 \u0627\u0644\u0633\u0645\u0627\u062a \u0648\u0627\u0644\u0645\u0643\u0648\u0646\u0627\u062a \u0627\u0644\u0625\u0636\u0627\u0641\u064a\u0629 \u0627\u0644\u062a\u064a \u062a\u0645 \u0628\u0631\u0645\u062c\u062a\u0647\u0627 \u0628\u0634\u0643\u0644 \u0633\u064a\u0626. \u064a\u0645\u0643\u0646 \u0623\u0646 \u062a\u0643\u0648\u0646 \u0623\u062e\u0637\u0627\u0621 \u062a\u0643\u0648\u064a\u0646 \u0627\u0644\u062e\u0627\u062f\u0645\u060c \u0645\u062b\u0644 \u0627\u0644\u0645\u0648\u0627\u0631\u062f \u063a\u064a\u0631 \u0627\u0644\u0643\u0627\u0641\u064a\u0629 \u0623\u0648 \u0623\u0630\u0648\u0646\u0627\u062a \u0627\u0644\u0645\u0644\u0641\u0627\u062a \u063a\u064a\u0631 \u0627\u0644\u0635\u062d\u064a\u062d\u0629\u060c \u0623\u064a\u0636\u064b\u0627 \u0645\u0633\u0624\u0648\u0644\u0629 \u0639\u0646 \u0647\u0630\u0647 \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0627\u0644\u062d\u0631\u062c\u0629.<\/p>\n\n\n\n<p>\u062a\u062d\u062f\u062b \u0645\u062b\u0644 \u0647\u0630\u0647 \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0628\u0634\u0643\u0644 \u0645\u062a\u0643\u0631\u0631 \u0628\u0639\u062f \u0627\u0644\u062a\u063a\u064a\u064a\u0631\u0627\u062a \u0627\u0644\u0623\u062e\u064a\u0631\u0629 \u0627\u0644\u062a\u064a \u062a\u0637\u0631\u0623 \u0639\u0644\u0649 \u0645\u0648\u0642\u0639\u0643\u060c \u0645\u062b\u0644 \u062a\u062b\u0628\u064a\u062a \u0645\u0643\u0648\u0646 \u0625\u0636\u0627\u0641\u064a \u0623\u0648 \u0633\u0645\u0629 \u062c\u062f\u064a\u062f\u0629\u060c \u0623\u0648 \u062a\u062d\u062f\u064a\u062b \u0645\u0644\u0641\u0627\u062a WordPress \u0627\u0644\u0623\u0633\u0627\u0633\u064a\u0629\u060c \u0623\u0648 \u062a\u0639\u062f\u064a\u0644 \u062a\u0643\u0648\u064a\u0646 \u0627\u0644\u062e\u0627\u062f\u0645. \u0644\u062d\u0644 \u0647\u0630\u0647 \u0627\u0644\u0645\u0634\u0643\u0644\u0627\u062a\u060c \u062a\u062a\u0636\u0645\u0646 \u0639\u0645\u0644\u064a\u0629 \u062a\u0635\u062d\u064a\u062d \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0639\u0627\u062f\u0629\u064b \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0633\u062c\u0644\u0627\u062a \u0627\u0644\u0623\u062e\u0637\u0627\u0621\u060c \u0623\u0648 \u062a\u0639\u0637\u064a\u0644 \u0627\u0644\u0645\u0643\u0648\u0646\u0627\u062a \u0627\u0644\u0625\u0636\u0627\u0641\u064a\u0629\u060c \u0623\u0648 \u0627\u0644\u062a\u0631\u0627\u062c\u0639 \u0639\u0646 \u0627\u0644\u062a\u063a\u064a\u064a\u0631\u0627\u062a \u0627\u0644\u0623\u062e\u064a\u0631\u0629 \u0644\u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0633\u0628\u0628 \u0627\u0644\u062c\u0630\u0631\u064a \u0648\u0645\u0639\u0627\u0644\u062c\u062a\u0647.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-a-comprehensive-guide-to-resolving-critical-wordpress-errors\">\u062f\u0644\u064a\u0644 \u0634\u0627\u0645\u0644 \u0644\u0625\u0635\u0644\u0627\u062d \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0627\u0644\u062d\u0631\u062c\u0629 \u0641\u064a WordPress<\/h2>\n\n\n\n<p>\u0627\u0628\u062f\u0623 \u0628\u0641\u062d\u0635 \u0633\u062c\u0644\u0627\u062a \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0644\u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0645\u0643\u0648\u0646\u0627\u062a \u0627\u0644\u062a\u064a \u062a\u0633\u0628\u0628 \u0627\u0644\u0645\u0634\u0643\u0644\u0627\u062a. \u0639\u0627\u062f\u0629\u064b \u0645\u0627 \u064a\u0628\u0644\u063a WordPress \u0639\u0646 \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0628\u062a\u0646\u0633\u064a\u0642 \u0645\u062b\u0644 \u0647\u0630\u0627:<\/p>\n\n\n\n<pre class=\"wp-block-code ltr has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-15f49ffd4cd32691a664c344887b8fc5\" style=\"background-color:#401937\"><code>[22-Aug-2024 14:32:18 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function non_existent_function() in \/wp-content\/plugins\/<mark class=\"has-inline-color has-luminous-vivid-amber-color\">example-plugin<\/mark>\/includes\/class-example-plugin.php:123\nStack trace:\n#0 \/wp-content\/plugins\/example-plugin\/example-plugin.php(45): Example_Plugin-&gt;init()\n#1 \/wp-includes\/class-wp-hook.php(312): Example_Plugin::start('')\n#2 \/wp-includes\/class-wp-hook.php(334): WP_Hook-&gt;apply_filters(NULL, Array)\n#3 \/wp-includes\/plugin.php(517): WP_Hook-&gt;do_action(Array)\n#4 \/wp-settings.php(617): do_action('init')\n#5 \/wp-config.php(90): require_once('\/path\/to\/wp-set...')\n#6 \/wp-load.php(37): require_once('\/path\/to\/wp-con...')\n#7 \/wp-blog-header.php(13): require_once('\/path\/to\/wp-loa...')\n#8 \/index.php(17): require('\/path\/to\/wp-blo...')\n#9 {main}\n  thrown in \/wp-content\/plugins\/example-plugin\/includes\/class-example-plugin.php on line 123\n<\/code><\/pre>\n\n\n\n<p>\u0639\u0627\u062f\u0629\u064b\u060c \u064a\u0645\u0643\u0646 \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0643\u0648\u0646 \u0627\u0644\u0645\u0633\u0628\u0628 \u0644\u0644\u0645\u0634\u0643\u0644\u0627\u062a \u0645\u0646 \u0633\u062c\u0644 \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0643\u0645\u0627 \u0647\u0648 \u0645\u0648\u0636\u062d \u0623\u0639\u0644\u0627\u0647.<\/p>\n\n\n\n<p>\u0625\u0630\u0627 \u0644\u0645 \u062a\u062a\u0645\u0643\u0646 \u0645\u0646 \u062a\u062d\u062f\u064a\u062f \u0633\u062c\u0644\u0627\u062a \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0623\u0648 \u0643\u0646\u062a \u062a\u0641\u0636\u0644 \u0639\u062f\u0645 \u0627\u0644\u0628\u062d\u062b \u0641\u064a\u0647\u0627\u060c \u0641\u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0623\u0648\u0627\u0645\u0631 WP-CLI \u0644\u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u062e\u0637\u0623 \u0627\u0644\u062d\u0631\u062c \u0648\u0645\u0631\u0627\u0642\u0628\u0629 \u0627\u0644\u0646\u0627\u062a\u062c. \u0639\u0644\u0649 \u0633\u0628\u064a\u0644 \u0627\u0644\u0645\u062b\u0627\u0644:<\/p>\n\n\n\n<pre class=\"wp-block-code saaslauncher-ltr has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-f7987e109da87a470f31a3901ef30f86\" style=\"background-color:#401937\"><code>$ wp plugin list<\/code><\/pre>\n\n\n\n<p>\u0628\u0639\u062f \u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0645\u0643\u0648\u0646 \u0627\u0644\u0625\u0636\u0627\u0641\u064a \u0627\u0644\u0645\u0633\u0628\u0628 \u0644\u0644\u062e\u0637\u0623\u060c \u064a\u0645\u0643\u0646\u0643 \u062a\u0639\u0637\u064a\u0644\u0647 \u0628\u0633\u0647\u0648\u0644\u0629 \u0639\u0646 \u0637\u0631\u064a\u0642 \u062a\u0634\u063a\u064a\u0644 \u0623\u0645\u0631 WP-CLI \u0627\u0644\u062a\u0627\u0644\u064a:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-53590f740a80e8747b4bf8239e927620\" style=\"background-color:#401937\"><code>$ wp plugin disable &lt;example-plugin&gt; --skip-plugins<\/code><\/pre>\n\n\n\n<p>\u0644\u0627\u062d\u0638 <code>--skip-plugins<\/code> \u0648\u0647\u0648 \u0623\u0645\u0631 \u0636\u0631\u0648\u0631\u064a \u0644\u062a\u062c\u0627\u0648\u0632 \u062a\u0646\u0641\u064a\u0630 \u0645\u0643\u0648\u0646\u0627\u062a WordPress \u0627\u0644\u0625\u0636\u0627\u0641\u064a\u0629 \u0623\u062b\u0646\u0627\u0621 \u0641\u062d\u0635\u0646\u0627.<\/p>\n\n\n\n<p>\u0641\u064a \u062d\u0627\u0644\u0627\u062a \u0646\u0627\u062f\u0631\u0629\u060c \u0642\u062f \u0644\u0627 \u064a\u0634\u064a\u0631 WordPress \u0628\u0634\u0643\u0644 \u0645\u0628\u0627\u0634\u0631 \u0625\u0644\u0649 \u0627\u0644\u0645\u0643\u0648\u0646 \u0627\u0644\u0625\u0636\u0627\u0641\u064a \u0623\u0648 \u0627\u0644\u0645\u0643\u0648\u0651\u0646 \u0627\u0644\u0645\u0633\u0624\u0648\u0644 \u0639\u0646 \u0627\u0644\u0645\u0634\u0643\u0644\u0629. \u0641\u064a \u0645\u062b\u0644 \u0647\u0630\u0647 \u0627\u0644\u062d\u0627\u0644\u0627\u062a\u060c \u0633\u062a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u0625\u0644\u063a\u0627\u0621 \u062a\u0646\u0634\u064a\u0637 \u0627\u0644\u0645\u0643\u0648\u0646\u0627\u062a \u0627\u0644\u0625\u0636\u0627\u0641\u064a\u0629 \u0648\u0627\u062d\u062f\u064b\u0627 \u062a\u0644\u0648 \u0627\u0644\u0622\u062e\u0631 \u0644\u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0645\u0643\u0648\u0646\u0627\u062a \u0627\u0644\u0625\u0636\u0627\u0641\u064a\u0629 \u0627\u0644\u062a\u064a \u062a\u0633\u0628\u0628 \u0627\u0644\u0645\u0634\u0643\u0644\u0629.<\/p>\n\n\n\n<p>\u0625\u0644\u064a\u0643 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u0646\u0635\u064a \u0627\u0644\u0630\u064a \u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u062e\u062f\u0627\u0645\u0647 \u0644\u0623\u062a\u0645\u062a\u0629 \u0647\u0630\u0647 \u0627\u0644\u0639\u0645\u0644\u064a\u0629:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-3a1c68f0b0af21f79f7d8d16b699bb5b\" style=\"background-color:#401937\"><code>$ activated_plugins=$(wp plugin list --status=active --field=name --skip-plugins); wp plugin deactivate --all --skip-plugins; last_activated=\"\"; for plugin in $activated_plugins; do wp plugin activate \"$plugin\"; last_activated=\"$plugin\"; if ! wp plugin list &gt; \/dev\/null 2&gt;&amp;1; then wp plugin deactivate \"$last_activated\" --skip-plugins &amp;&amp; echo \"The plugin $last_activated was causing a fatal error. Now deactivated\"; fi; done; echo \"Plugin activation process completed.\"<\/code><\/pre>\n\n\n\n<p>\u0633\u064a\u0642\u0648\u0645 \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u0646\u0635\u064a \u0628\u0625\u062f\u0631\u0627\u062c \u062c\u0645\u064a\u0639 \u0627\u0644\u0645\u0643\u0648\u0646\u0627\u062a \u0627\u0644\u0625\u0636\u0627\u0641\u064a\u0629 \u0627\u0644\u0646\u0634\u0637\u0629 \u062d\u0627\u0644\u064a\u064b\u0627\u060c \u0648\u0625\u0644\u063a\u0627\u0621 \u062a\u0646\u0634\u064a\u0637\u0647\u0627\u060c \u062b\u0645 \u0625\u0639\u0627\u062f\u0629 \u062a\u0646\u0634\u064a\u0637\u0647\u0627 \u0648\u0627\u062d\u062f\u0629 \u062a\u0644\u0648 \u0627\u0644\u0623\u062e\u0631\u0649. \u0633\u064a\u0633\u062a\u0645\u0631 \u0630\u0644\u0643 \u062d\u062a\u0649 \u062d\u062f\u0648\u062b \u062e\u0637\u0623 \u062d\u0631\u062c \u0645\u0631\u0629 \u0623\u062e\u0631\u0649\u060c \u0645\u0645\u0627 \u064a\u0633\u0627\u0639\u062f \u0641\u064a \u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0645\u0643\u0648\u0646 \u0627\u0644\u0625\u0636\u0627\u0641\u064a \u0627\u0644\u0630\u064a \u064a\u0633\u0628\u0628 \u0627\u0644\u0645\u0634\u0643\u0644\u0629. \u0628\u0645\u062c\u0631\u062f \u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0645\u0643\u0648\u0646\u0627\u062a \u0627\u0644\u0625\u0636\u0627\u0641\u064a\u0629 \u0627\u0644\u062a\u064a \u062a\u0633\u0628\u0628 \u0627\u0644\u0645\u0634\u0643\u0644\u0629\u060c \u0633\u064a\u062a\u0645 \u062a\u062e\u0637\u064a\u0647\u0627\u060c \u0628\u064a\u0646\u0645\u0627 \u062a\u062a\u0645 \u0625\u0639\u0627\u062f\u0629 \u062a\u0646\u0634\u064a\u0637 \u0627\u0644\u0645\u0643\u0648\u0646\u0627\u062a \u0627\u0644\u0625\u0636\u0627\u0641\u064a\u0629 \u0627\u0644\u0645\u062a\u0628\u0642\u064a\u0629.<\/p>\n\n\n\n<p>\u0641\u064a \u0628\u0639\u0636 \u0627\u0644\u0623\u062d\u064a\u0627\u0646\u060c \u0642\u062f \u062a\u0646\u0634\u0623 \u0623\u062e\u0637\u0627\u0621 \u062d\u0631\u062c\u0629 \u0623\u064a\u0636\u064b\u0627 \u0645\u0646 \u0642\u0627\u0644\u0628 \u0645\u0648\u0642\u0639\u0643 \u0627\u0644\u0646\u0634\u0637. <\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-7c2ddb58fe88c96ba2542e4ac49af28b\" style=\"background-color:#401937\"><code>&#91;22-Aug-2024 14:32:18 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_header() in \/wp-content\/themes\/example-theme\/page.php:12\nStack trace:\n#0 \/wp-includes\/template-loader.php(106): include()\n#1 \/wp-blog-header.php(19): require_once('\/path\/to\/wp-includes\/template-loader.php')\n#2 \/index.php(17): require('\/path\/to\/wp-blog-header.php')\n#3 {main}\n  thrown in \/wp-content\/themes\/example-theme\/page.php on line 12<\/code><\/pre>\n\n\n\n<p>\u0644\u0627\u062d\u0638 \u0623\u0646 \u0645\u0633\u0627\u0631 \u0627\u0644\u062e\u0637\u0623 \u0647\u0648 <code>\/wp-content\/themes\/example-theme\/<\/code>\u0641\u064a \u0645\u062b\u0644 \u0647\u0630\u0647 \u0627\u0644\u062d\u0627\u0644\u0627\u062a\u060c \u064a\u0645\u0643\u0646\u0643 \u062d\u0644 \u0627\u0644\u0645\u0634\u0643\u0644\u0629 \u0628\u0627\u0644\u062a\u0628\u062f\u064a\u0644 \u0625\u0644\u0649 \u0623\u062d\u062f \u0627\u0644\u0642\u0648\u0627\u0644\u0628 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629 \u0644\u0640 WordPress:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-c9869029ada587879a59f979698d9835\" style=\"background-color:#401937\"><code>$ wp theme activate twentytwentyfour --skip-themes<\/code><\/pre>\n\n\n\n<p>\u0644\u0627\u062d\u0638 \u0641\u064a \u0627\u0644\u0623\u0645\u0631 \u0623\u0639\u0644\u0627\u0647 \u0623\u0646\u0646\u0627 \u0627\u0633\u062a\u062e\u062f\u0645\u0646\u0627 <code>--skip-themes<\/code> \u0644\u062a\u062c\u0646\u0628 \u062a\u0646\u0641\u064a\u0630 \u0643\u0648\u062f \u0627\u0644\u0642\u0627\u0644\u0628 \u0623\u062b\u0646\u0627\u0621 \u0627\u0644\u0641\u062d\u0635. <\/p>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-group is-style-saaslauncher-boxshadow-hover has-border-color has-background wp-container-content-e0b89f81 is-content-justification-center is-layout-constrained wp-container-core-group-is-layout-5f123afd wp-block-group-is-layout-constrained\" style=\"border-color:#66295b29;border-width:4px;border-radius:7px;background-color:#66295b08;margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70);padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--60)\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-container-core-column-is-layout-119bc444 wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<h3 class=\"wp-block-heading has-text-align-left\" id=\"h-looking-for-a-wordpress-experience-without-errors\">\u0647\u0644 \u062a\u0628\u062d\u062b \u0639\u0646 \u062a\u062c\u0631\u0628\u0629 \u0648\u0648\u0631\u062f\u0628\u0631\u064a\u0633 \u062e\u0627\u0644\u064a\u0629 \u0645\u0646 \u0627\u0644\u0623\u062e\u0637\u0627\u0621\u061f<\/h3>\n\n\n\n<p class=\"has-text-align-left has-normal-font-size\">\u0627\u0633\u062a\u0645\u062a\u0639 \u0628\u0646\u0642\u0644 \u0633\u0644\u0633 \u0644\u0644\u0645\u0648\u0642\u0639 \u0645\u062c\u0627\u0646\u064b\u0627 \u0648\u0627\u0643\u062a\u0634\u0641 \u0642\u0648\u0629 \u062a\u0648\u0635\u064a\u0644 CDN \u0627\u0644\u0633\u0631\u064a\u0639 \u0644\u0644\u063a\u0627\u064a\u0629\u060c \u0628\u062f\u0639\u0645 \u0645\u0646 \u0627\u0644\u062e\u0628\u0631\u0627\u0621 \u0639\u0644\u0649 \u0645\u062f\u0627\u0631 \u0627\u0644\u0633\u0627\u0639\u0629 \u0637\u0648\u0627\u0644 \u0623\u064a\u0627\u0645 \u0627\u0644\u0623\u0633\u0628\u0648\u0639.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-left is-layout-flex wp-container-core-buttons-is-layout-fc4fd283 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-button-hover-secondary-bgcolor\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/kelma.io\/ar\/pricing\/\">\u0633\u062c\u0644 \u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0634\u0647\u0631 \u0645\u062c\u0627\u0646\u064a<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"462\" height=\"420\" src=\"https:\/\/kelma.io\/wp-content\/uploads\/2025\/03\/no-errors-png.webp\" alt=\"No errors successful\" class=\"wp-image-3471\" title=\"\" srcset=\"https:\/\/kelma.io\/wp-content\/uploads\/2025\/03\/no-errors-png.webp 462w, https:\/\/kelma.io\/wp-content\/uploads\/2025\/03\/no-errors-300x273.webp 300w, https:\/\/kelma.io\/wp-content\/uploads\/2025\/03\/no-errors-13x12.webp 13w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><\/figure>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-i-am-seeing-an-error-in-wordpress-core-files\">\u0623\u0631\u0649 \u062e\u0637\u0623 \u0641\u064a \u0645\u0644\u0641\u0627\u062a WordPress \u0627\u0644\u0627\u0633\u0627\u0633\u064a\u0629!<\/h2>\n\n\n\n<p>\u0641\u064a \u062d\u0627\u0644\u0627\u062a \u0646\u0627\u062f\u0631\u0629\u060c \u0642\u062f \u064a\u0646\u0634\u0623 \u062e\u0637\u0623 \u062d\u0631\u062c \u0645\u0646 \u0645\u0644\u0641 \u0623\u0633\u0627\u0633\u064a \u0641\u064a WordPress\u060c \u0645\u0645\u0627 \u064a\u0634\u064a\u0631 \u0625\u0644\u0649 \u0623\u0646 \u062a\u062b\u0628\u064a\u062a WordPress \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0631\u0628\u0645\u0627 \u062a\u0645 \u062a\u0639\u062f\u064a\u0644\u0647 \u0645\u0633\u0628\u0642\u064b\u0627\u060c \u0631\u0628\u0645\u0627 \u0628\u0648\u0627\u0633\u0637\u0629 \u0645\u0637\u0648\u0631 \u0645\u0648\u0642\u0639\u0643:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-cf1c83ba78b5807f475fc225c01588b8\" style=\"background-color:#401937\"><code>&#91;22-Aug-2024 14:32:18 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wp_get_current_user() in \/wp-includes\/class-wp-user.php:123\nStack trace:\n#0 \/wp-includes\/class-wp-user.php(123): wp_get_current_user()\n#1 \/wp-includes\/pluggable.php(75): WP_User-&gt;get()\n#2 \/wp-includes\/user.php(273): wp_set_current_user(1)\n#3 \/wp-includes\/plugin.php(458): wp_set_current_user()\n#4 \/wp-includes\/class-wp-hook.php(287): do_action('init')\n#5 \/wp-includes\/class-wp-hook.php(311): WP_Hook-&gt;apply_filters(NULL, Array)\n#6 \/wp-includes\/plugin.php(465): WP_Hook-&gt;do_action(Array)\n#7 \/wp-settings.php(615): do_action('init')\n#8 \/wp-config.php(90): require_once('\/path\/to\/wp-set...')\n#9 \/wp-load.php(37): require_once('\/path\/to\/wp-con...')\n#10 \/wp-blog-header.php(13): require_once('\/path\/to\/wp-loa...')\n#11 \/index.php(17): require('\/path\/to\/wp-blo...')\n#12 {main}\n  thrown in \/wp-includes\/class-wp-user.php on line 123<\/code><\/pre>\n\n\n\n<p>\u0644\u0627 \u064a\u064f\u0646\u0635\u062d \u0623\u0628\u062f\u064b\u0627 \u0628\u062a\u0639\u062f\u064a\u0644 \u0645\u0644\u0641\u0627\u062a WordPress \u0627\u0644\u0623\u0633\u0627\u0633\u064a\u0629 \u0645\u0627 \u0644\u0645 \u062a\u0643\u0646 \u0645\u062a\u0623\u0643\u062f\u064b\u0627 \u062d\u0642\u064b\u0627 \u0645\u0645\u0627 \u062a\u0641\u0639\u0644\u0647 \u0623\u0648 \u0643\u0627\u0646 \u0645\u0637\u0648\u0631 \u0645\u0648\u0642\u0639 \u0627\u0644\u0648\u064a\u0628 \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0645\u0633\u062a\u0639\u062f\u064b\u0627 \u0644\u0644\u062a\u062f\u062e\u0644 \u0648\u062d\u0644 \u0623\u064a \u0623\u062e\u0637\u0627\u0621 \u0642\u062f \u062a\u0638\u0647\u0631. \u0625\u0630\u0627 \u0644\u0645 \u064a\u062d\u062f\u062b \u0630\u0644\u0643\u060c \u0641\u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u0639\u0627\u062f\u0629 \u0645\u0644\u0641\u0627\u062a WordPress \u0627\u0644\u0623\u0633\u0627\u0633\u064a\u0629:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-6d4294de822b4549c33b1f876180407a\" style=\"background-color:#401937\"><code>$ wp core download --force --version=&lt;your_wordpress_version&gt;<\/code><\/pre>\n\n\n\n<p>\u0625\u0630\u0627 \u0643\u0646\u062a \u0628\u062d\u0627\u062c\u0629 \u0625\u0644\u0649 \u0645\u0639\u0631\u0641\u0629 \u0625\u0635\u062f\u0627\u0631 WordPress \u0627\u0644\u062d\u0627\u0644\u064a \u0644\u062f\u064a\u0643\u060c \u0641\u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0647\u0630\u0627:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-d83c628264e3fac895de19822b6d7c35\" style=\"background-color:#401937\"><code>$ wp core version<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-if-i-am-getting-memory-limit-errors\">\u0645\u0627\u0630\u0627 \u0644\u0648 \u0643\u0646\u062a \u0623\u062a\u0644\u0642\u0649 \u0623\u062e\u0637\u0627\u0621 \u062d\u062f \u0627\u0644\u0630\u0627\u0643\u0631\u0629\u061f <\/h2>\n\n\n\n<p>\u0641\u064a \u0645\u062b\u0644 \u0647\u0630\u0647 \u0627\u0644\u062d\u0627\u0644\u0629\u060c \u0633\u062a\u0644\u0627\u062d\u0638 \u0641\u064a \u0627\u0644\u0633\u062c\u0644\u0627\u062a \u0623\u0646 WordPress \u064a\u0639\u0627\u0646\u064a \u0645\u0646 \u0646\u0641\u0627\u062f \u0627\u0644\u0630\u0627\u0643\u0631\u0629:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-66114e97d61cab27477261dd41d14281\" style=\"background-color:#401937\"><code>&#91;22-Aug-2024 11:22:10 UTC] PHP Fatal error:  Allowed memory size of 256M bytes exhausted (tried to allocate 32 bytes) in \/wp-includes\/class-wp-query.php on line 2034<\/code><\/pre>\n\n\n\n<p>\u064a\u0645\u0643\u0646 \u0625\u0635\u0644\u0627\u062d \u0647\u0630\u0647 \u0627\u0644\u0623\u062e\u0637\u0627\u0621 \u0628\u0633\u0647\u0648\u0644\u0629 \u0639\u0646 \u0637\u0631\u064a\u0642 \u0632\u064a\u0627\u062f\u0629 \u062d\u062f \u0630\u0627\u0643\u0631\u0629 WordPress. \u0644\u0644\u0642\u064a\u0627\u0645 \u0628\u0630\u0644\u0643\u060c \u0645\u0627 \u0639\u0644\u064a\u0643 \u0633\u0648\u0649 \u0625\u0636\u0627\u0641\u0629 \u0645\u0627 \u064a\u0644\u064a \u0625\u0644\u0649 <code>wp-config.php<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-3ded963cbeeca86fa6726c6fd4a73967\" style=\"background-color:#401937\"><code>define('WP_MEMORY_LIMIT', '512M');<\/code><\/pre>\n\n\n\n<p>\u0641\u064a \u0627\u0644\u0645\u062b\u0627\u0644 \u0623\u0639\u0644\u0627\u0647\u060c \u0643\u0627\u0646 WordPress \u064a\u0646\u0641\u062f \u0645\u0646 <code>256M<\/code>\u0644\u0630\u0644\u0643 \u0642\u0645\u0646\u0627 \u0628\u0632\u064a\u0627\u062f\u0629 \u062d\u062f \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0625\u0644\u0649 <code>512M<\/code>\u0625\u0630\u0627 \u0627\u0633\u062a\u0645\u0631\u062a \u0627\u0644\u0623\u062e\u0637\u0627\u0621\u060c \u064a\u0645\u0643\u0646\u0643 \u0632\u064a\u0627\u062f\u0629 \u0627\u0644\u062d\u062f \u0627\u0644\u0623\u0642\u0635\u0649 \u0628\u0634\u0643\u0644 \u0623\u0643\u0628\u0631. \u062a\u0623\u0643\u062f \u0645\u0646 \u0625\u0636\u0627\u0641\u0629 \u0647\u0630\u0627 \u0642\u0628\u0644 \u0647\u0630\u0627 \u0627\u0644\u0633\u0637\u0631:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-text-color has-background has-link-color has-small-font-size wp-elements-7cdd8eb9ce4db8aa31a4bc3e800d6d8c\" style=\"background-color:#401937\"><code>\/* That's all, stop editing! Happy blogging. *\/<\/code><\/pre>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Dealing with WordPress critical errors can be daunting, especially when the platform provides little context about the source of the issue. In this article, I&#8217;ll walk you through a step-by-step guide to diagnose and fix these errors, ensuring your WordPress site is back up and running smoothly. What causes WordPress critical errors? WordPress critical errors&#8230;<\/p>","protected":false},"author":1,"featured_media":2789,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[16,19],"tags":[50],"class_list":["post-2398","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-guides","tag-wordpress-guides"],"_links":{"self":[{"href":"https:\/\/kelma.io\/ar\/wp-json\/wp\/v2\/posts\/2398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kelma.io\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kelma.io\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kelma.io\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kelma.io\/ar\/wp-json\/wp\/v2\/comments?post=2398"}],"version-history":[{"count":48,"href":"https:\/\/kelma.io\/ar\/wp-json\/wp\/v2\/posts\/2398\/revisions"}],"predecessor-version":[{"id":10119,"href":"https:\/\/kelma.io\/ar\/wp-json\/wp\/v2\/posts\/2398\/revisions\/10119"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kelma.io\/ar\/wp-json\/wp\/v2\/media\/2789"}],"wp:attachment":[{"href":"https:\/\/kelma.io\/ar\/wp-json\/wp\/v2\/media?parent=2398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kelma.io\/ar\/wp-json\/wp\/v2\/categories?post=2398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kelma.io\/ar\/wp-json\/wp\/v2\/tags?post=2398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}