{"id":7497,"date":"2026-04-08T09:26:44","date_gmt":"2026-04-08T07:26:44","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=7497"},"modified":"2026-04-08T09:26:45","modified_gmt":"2026-04-08T07:26:45","slug":"cum-sa-verificati-erorile-in-wordpress","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-check-for-errors-in-wordpress\/","title":{"rendered":"Cum s\u0103 verifica\u021bi erorile \u00een WordPress"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">When a WordPress site fails, it often displays a blank screen (the &#8220;White Screen of Death&#8221;) or a generic &#8220;500 Internal Server Error.&#8221; On the <strong>mybox<\/strong> infrastructure, these errors usually point to a conflict between plugins, an incompatible PHP version, or a failed update.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To resolve these issues, you must bypass the generic error page and look at the specific diagnostic data generated by the WordPress core.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-check-for-errors-in-wordpress\/#Activating_WordPress_Debug_Mode_WP_DEBUG\" >Activating WordPress Debug Mode (WP_DEBUG)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-check-for-errors-in-wordpress\/#Understanding_Diagnostic_Information\" >Understanding Diagnostic Information<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-check-for-errors-in-wordpress\/#Practical_Troubleshooting_Steps\" >Practical Troubleshooting Steps<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-check-for-errors-in-wordpress\/#1_Deactivating_a_Faulty_Plugin\" >1. Deactivating a Faulty Plugin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-check-for-errors-in-wordpress\/#2_Fixing_a_%E2%80%9CStuck%E2%80%9D_Update\" >2. Fixing a &#8220;Stuck&#8221; Update<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-check-for-errors-in-wordpress\/#Distinction_Block\" >Distinction Block<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-check-for-errors-in-wordpress\/#Practical_Implications\" >Practical Implications<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-check-for-errors-in-wordpress\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Activating_WordPress_Debug_Mode_WP_DEBUG\"><\/span>Activating WordPress Debug Mode (WP_DEBUG)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-3108802420\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">WordPress has a built-in &#8220;hidden&#8221; diagnostic tool called <code>WP_DEBUG<\/code>. Activating it forces the website to display the exact file and line of code causing the problem.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Log in to your account via <strong>FTP<\/strong> or <strong>SFTP<\/strong>.<\/li>\n\n\n\n<li>Locate the <code>wp-config.php<\/code> file in your website&#8217;s root directory (usually <code>public_html<\/code>).<\/li>\n\n\n\n<li>Open the file and look for this line: <code>define( 'WP_DEBUG', false );<\/code><\/li>\n\n\n\n<li>Change <code>false<\/code> to <code>true<\/code>: <code>define( 'WP_DEBUG', true );<\/code><\/li>\n\n\n\n<li>Save the file and upload it back to the server.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Understanding_Diagnostic_Information\"><\/span>Understanding Diagnostic Information<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once debug mode is active, refresh your website. You will see text-based messages instead of a blank screen. It is important to distinguish between &#8220;noise&#8221; and critical failures:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Deprecated \/ Warning:<\/strong> These indicate that some code is outdated. While they should eventually be fixed, they <strong>do not<\/strong> bring your site down. You can usually ignore these during emergency troubleshooting.<\/li>\n\n\n\n<li><strong>Fatal Error:<\/strong> This is a critical failure. The error message will typically include a file path like: <code>...\/wp-content\/plugins\/plugin-name\/filename.php<\/code> This tells you exactly which plugin is causing the crash.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Practical_Troubleshooting_Steps\"><\/span>Practical Troubleshooting Steps<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Deactivating_a_Faulty_Plugin\"><\/span>1. Deactivating a Faulty Plugin<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If a &#8220;Fatal Error&#8221; points to a specific plugin and you cannot access your WordPress dashboard:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>In your FTP client, go to <code>wp-content\/plugins\/<\/code>.<\/li>\n\n\n\n<li>Find the folder for the problematic plugin.<\/li>\n\n\n\n<li><strong>Rename the folder<\/strong> (e.g., change <code>contact-form-7<\/code> to <code>contact-form-7-old<\/code>).<\/li>\n\n\n\n<li>WordPress will automatically &#8220;lose&#8221; the plugin and allow the rest of the site to load.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Fixing_a_%E2%80%9CStuck%E2%80%9D_Update\"><\/span>2. Fixing a &#8220;Stuck&#8221; Update<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If your site shows a message saying &#8220;Briefly unavailable for scheduled maintenance,&#8221; a previous update may have failed.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Check your root directory (<code>public_html<\/code>) for a file named <code>.maintenance<\/code>.<\/li>\n\n\n\n<li><strong>Delete this file.<\/strong> This will immediately take the site out of maintenance mode.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Distinction_Block\"><\/span>Distinction Block<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>WP_DEBUG vs. PHP Display Errors<\/strong> <strong>WP_DEBUG<\/strong> is a WordPress-specific setting that manages how the CMS handles its internal logs. <strong>PHP Display Errors<\/strong> (set via <code>ini_set<\/code>) is a server-level setting. For WordPress sites, always prioritize using <code>WP_DEBUG<\/code> as it provides more context regarding plugins and themes.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Practical_Implications\"><\/span>Practical Implications<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Security:<\/strong> Never leave <code>WP_DEBUG<\/code> set to <code>true<\/code> on a live site once the issue is fixed. Revealing your file structure can be a security risk.<\/li>\n\n\n\n<li><strong>Version Check:<\/strong> If you see &#8220;Fatal Errors&#8221; after a <strong>mybox<\/strong> infrastructure update, check if your PHP version in the panel matches the requirements of your WordPress version.<\/li>\n\n\n\n<li><strong>Log Files:<\/strong> If you don&#8217;t want errors to appear to visitors, you can use <code>define( 'WP_DEBUG_LOG', true );<\/code> in <code>wp-config.php<\/code>. This saves the errors to a file named <code>debug.log<\/code> inside the <code>wp-content<\/code> folder instead of displaying them on the screen.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Troubleshooting WordPress on <strong>mybox<\/strong> is a process of elimination. By enabling <code>WP_DEBUG<\/code>, identifying the &#8220;Fatal Error,&#8221; and temporarily renaming conflicting plugin folders, you can restore your website&#8217;s functionality without needing to reinstall the entire system.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[25,43,51,58],"manual_kb_tag":[],"class_list":["post-7497","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-hosting","manualknowledgebasecat-website-errors","manualknowledgebasecat-types-of-http-errors","manualknowledgebasecat-web-applications-cms"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7497\/revisions"}],"predecessor-version":[{"id":7498,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7497\/revisions\/7498"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=7497"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=7497"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=7497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}