{"id":7545,"date":"2026-04-10T02:43:18","date_gmt":"2026-04-10T00:43:18","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=7545"},"modified":"2026-04-10T02:43:19","modified_gmt":"2026-04-10T00:43:19","slug":"bara-de-depanare-centrul-de-diagnosticare-wordpress","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/debug-bar-the-wordpress-diagnostics-center\/","title":{"rendered":"Bara de depanare: Centrul de diagnoz\u0103 WordPress"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\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\/debug-bar-the-wordpress-diagnostics-center\/#Debug_Bar_The_WordPress_Diagnostics_Center\" >Debug Bar: The WordPress Diagnostics Center<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/debug-bar-the-wordpress-diagnostics-center\/#What_is_Debug_Bar_and_What_Is_It_For\" >What is Debug Bar and What Is It For?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/debug-bar-the-wordpress-diagnostics-center\/#Key_Features_in_a_Nutshell\" >Key Features in a Nutshell<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/debug-bar-the-wordpress-diagnostics-center\/#Installation_and_Quick_Setup\" >Installation and Quick Setup<\/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\/debug-bar-the-wordpress-diagnostics-center\/#Comparison_Debug_Bar_vs_Query_Monitor\" >Comparison: Debug Bar vs. Query Monitor<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/debug-bar-the-wordpress-diagnostics-center\/#Essential_Add-ons_for_2026\" >Essential Add-ons for 2026<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/debug-bar-the-wordpress-diagnostics-center\/#Common_Problems_and_Solutions\" >Common Problems and Solutions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/debug-bar-the-wordpress-diagnostics-center\/#Summary\" >Summary<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Debug_Bar_The_WordPress_Diagnostics_Center\"><\/span>Debug Bar: The WordPress Diagnostics Center<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Debug Bar<\/strong> is a classic, lightweight developer tool that integrates directly into the WordPress admin bar. In 2026, it remains a favorite for <strong>mybox<\/strong> users who need a quick, no-nonsense look &#8220;under the hood&#8221; without the performance overhead or complexity of larger monitoring suites.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It acts as a centralized hub for real-time technical data, making it the first line of defense against slow queries and hidden PHP errors.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_Debug_Bar_and_What_Is_It_For\"><\/span>What is Debug Bar and What Is It For?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<\/div>\n\n<div id=\"mybox-1383462579\" 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\">Debug Bar provides an interactive menu at the top of your screen that reveals what is happening during each page request. It is designed to bridge the gap between &#8220;the site looks broken&#8221; and &#8220;here is the exact line of code causing the failure.&#8221;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Real-time PHP Feedback:<\/strong> Instead of hunting through <code>debug.log<\/code> files on your <strong>mybox<\/strong> server, you can see PHP warnings and notices displayed directly in your browser.<\/li>\n\n\n\n<li><strong>Database Transparency:<\/strong> It reveals exactly how many SQL queries are running and how long each one takes.<\/li>\n\n\n\n<li><strong>Extensibility:<\/strong> The &#8220;core&#8221; plugin is purposefully minimal; you can add specialized &#8220;panels&#8221; (like Cron or Transients) only when you need them.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Key_Features_in_a_Nutshell\"><\/span>Key Features in a Nutshell<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Query Tracking:<\/strong> View all MySQL queries triggered by a page load (requires <code>SAVEQUERIES<\/code>).<\/li>\n\n\n\n<li><strong>Object Cache Inspection:<\/strong> Monitor cache hits and misses to see if your caching strategy (like Redis or Memcached) is actually working.<\/li>\n\n\n\n<li><strong>WP_Query Status:<\/strong> See how WordPress interpreted the current URL and which &#8220;rewrite rules&#8221; were applied\u2014perfect for fixing 404 errors.<\/li>\n\n\n\n<li><strong>Request Details:<\/strong> View all query variables and request headers for the current page.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Installation_and_Quick_Setup\"><\/span>Installation and Quick Setup<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To get the most out of Debug Bar on your <strong>mybox<\/strong> site, you must enable specific WordPress constants in your <code>wp-config.php<\/code> file.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Install:<\/strong> Go to <strong>Plugins > Add New<\/strong>, search for <strong>&#8220;Debug Bar&#8221;<\/strong>, and click <strong>Activate<\/strong>.<\/li>\n\n\n\n<li><strong>Configure <code>wp-config.php<\/code>:<\/strong> Add these lines above the <code>\/* That's all, stop editing! *\/<\/code> comment:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">PHP<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'WP_DEBUG', true );     \/\/ Enables error tracking\ndefine( 'SAVEQUERIES', true );  \/\/ Enables database query logging\n<\/code><\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><strong>Access:<\/strong> Once active, a new <strong>&#8220;Debug&#8221;<\/strong> menu will appear in your top admin bar on both the front-end and the dashboard.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Comparison_Debug_Bar_vs_Query_Monitor\"><\/span>Comparison: Debug Bar vs. Query Monitor<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In 2026, these are the two primary choices for WordPress diagnostics.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Feature<\/strong><\/td><td><strong>Debug Bar<\/strong><\/td><td><strong>Query Monitor<\/strong><\/td><\/tr><\/thead><tbody><tr><td><strong>Interface<\/strong><\/td><td>Minimalist, panel-based<\/td><td>Comprehensive, overlay-based<\/td><\/tr><tr><td><strong>Weight<\/strong><\/td><td>Very light<\/td><td>Moderate (collects more data)<\/td><\/tr><tr><td><strong>Ease of Use<\/strong><\/td><td>High (simple lists)<\/td><td>Moderate (steep learning curve)<\/td><\/tr><tr><td><strong>Best For<\/strong><\/td><td>Quick checks &amp; specific tasks<\/td><td>Deep performance audits<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Essential_Add-ons_for_2026\"><\/span>Essential Add-ons for 2026<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The strength of Debug Bar lies in its modularity. Depending on your project, you might want to install these complementary plugins:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Debug Bar Console:<\/strong> Adds an interactive window to run PHP or SQL commands directly in your browser.<\/li>\n\n\n\n<li><strong>Debug Bar Cron:<\/strong> Essential for checking if your &#8220;Scheduled Posts&#8221; or &#8220;Backup&#8221; tasks are actually running.<\/li>\n\n\n\n<li><strong>Debug Bar Actions and Filters:<\/strong> Shows you every &#8220;Hook&#8221; currently firing on the page\u2014invaluable for theme development.<\/li>\n\n\n\n<li><strong>Debug Bar Remote Requests:<\/strong> Monitors external API calls (e.g., to Instagram or payment gateways) to see if they are slowing down your site.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Common_Problems_and_Solutions\"><\/span>Common Problems and Solutions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;I don&#8217;t see the Debug menu&#8221;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The admin bar must be visible. Ensure &#8220;Show Toolbar when viewing site&#8221; is checked in your <strong>Users &gt; Profile<\/strong> settings. Also, check that <code>WP_DEBUG<\/code> is actually set to <code>true<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;The Query panel is empty&#8221;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This happens if <code>SAVEQUERIES<\/code> is missing from your <code>wp-config.php<\/code>. Without this constant, WordPress doesn&#8217;t &#8220;save&#8221; the queries in memory for the plugin to read.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;The plugin is slowing down my site&#8221;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While the plugin is light, the <code>SAVEQUERIES<\/code> constant has a small impact on performance. <strong>Never leave Debug Bar or these constants active on a live production site<\/strong> once you have finished your diagnosis.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Debug Bar is a &#8220;disciplined&#8221; tool for the modern WordPress developer. By providing exactly the data you need without the clutter of a full-scale audit tool, it allows you to maintain a fast, error-free website on the <strong>mybox<\/strong> infrastructure.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[58,60],"manual_kb_tag":[190,546,1651,2853,4831,9589,9955,9956,9957,9958],"class_list":["post-7545","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-web-applications-cms","manualknowledgebasecat-wordpress-plugins","manual_kb_tag-wordpress","manual_kb_tag-wordpress-debugging","manual_kb_tag-database-queries","manual_kb_tag-developer-tools","manual_kb_tag-database-performance","manual_kb_tag-wordpress-diagnostics","manual_kb_tag-debug-bar","manual_kb_tag-debugging-tools","manual_kb_tag-admin-bar","manual_kb_tag-query-monitoring"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7545","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\/7545\/revisions"}],"predecessor-version":[{"id":7546,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7545\/revisions\/7546"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=7545"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=7545"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=7545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}