{"id":7675,"date":"2026-04-15T09:21:42","date_gmt":"2026-04-15T07:21:42","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=7675"},"modified":"2026-04-15T09:21:44","modified_gmt":"2026-04-15T07:21:44","slug":"interogarea-monitorizeaza-recorderul-cutiei-negre-pentru-diagnosticarea-wordpress","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/query-monitor-the-black-box-recorder-for-wordpress-diagnostics\/","title":{"rendered":"Query Monitor: \u00cenregistratorul \u201ccutiei negre\u201d pentru diagnosticarea WordPress"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\"><strong>Query Monitor<\/strong> is the most powerful free diagnostic tool available for WordPress developers and power users on <strong>mybox<\/strong>. In <strong>2026<\/strong>, where sites are a complex mix of Gutenberg blocks, headless APIs, and deep WooCommerce integrations, &#8220;guessing&#8221; why a site is slow is no longer an option. Query Monitor acts as an X-ray, revealing every database query, PHP hook, and external API call that happens during a single page load.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because it only displays its findings to logged-in administrators, it is a safe and professional way to debug production sites on <strong>mybox<\/strong> without exposing technical data to the public.<\/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-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/query-monitor-the-black-box-recorder-for-wordpress-diagnostics\/#The_Most_Critical_Diagnostic_Panels\" >The Most Critical Diagnostic Panels<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/query-monitor-the-black-box-recorder-for-wordpress-diagnostics\/#How_to_Diagnose_Performance_on_mybox\" >How to Diagnose Performance on mybox<\/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\/query-monitor-the-black-box-recorder-for-wordpress-diagnostics\/#Scenario_Troubleshooting_a_Slow_WooCommerce_Checkout\" >Scenario: Troubleshooting a Slow WooCommerce Checkout<\/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\/query-monitor-the-black-box-recorder-for-wordpress-diagnostics\/#The_Call_Stack_Finding_the_%E2%80%9CWhy%E2%80%9D\" >The Call Stack: Finding the &#8220;Why&#8221;<\/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\/query-monitor-the-black-box-recorder-for-wordpress-diagnostics\/#Working_with_Cache_and_CDN_on_mybox\" >Working with Cache and CDN on mybox<\/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\/query-monitor-the-black-box-recorder-for-wordpress-diagnostics\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Most_Critical_Diagnostic_Panels\"><\/span><strong>The Most Critical Diagnostic Panels<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<\/div>\n\n<div id=\"mybox-37049127\" 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\">Once activated, Query Monitor adds a set of metrics to your admin bar. Clicking them opens the main console, which is divided into several essential views:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Database Queries:<\/strong> This is where you solve performance issues. You can see the exact SQL being executed, which plugin triggered it, and how long it took.\n<ul class=\"wp-block-list\">\n<li><strong>Duplicate Queries:<\/strong> It highlights &#8220;N+1&#8221; problems where the same data is fetched multiple times unnecessarily.<\/li>\n\n\n\n<li><strong>Slow Queries:<\/strong> It identifies &#8220;bottleneck&#8221; queries that take over 100ms, often due to missing database indexes.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>PHP Errors:<\/strong> Displays warnings, notices, and deprecated functions. In 2026, keeping this panel &#8220;green&#8221; is vital for compatibility with <strong>PHP 8.3+<\/strong>.<\/li>\n\n\n\n<li><strong>HTTP API Calls:<\/strong> Shows every time your site &#8220;talks&#8221; to an external server (e.g., Stripe, Mailchimp, or Google Maps). If your site hangs for 5 seconds, this panel will likely show an external API that timed out.<\/li>\n\n\n\n<li><strong>Scripts &amp; Styles:<\/strong> Lists every JS and CSS file loaded on the page. Use this to find &#8220;bloat&#8221;\u2014scripts like sliders or contact forms loading on pages where they aren&#8217;t used.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Diagnose_Performance_on_mybox\"><\/span><strong>How to Diagnose Performance on mybox<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To optimize your site, use these <strong>2026 Benchmarks<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Metric<\/strong><\/td><td><strong>Healthy Range<\/strong><\/td><td><strong>Red Flag<\/strong><\/td><\/tr><\/thead><tbody><tr><td><strong>Page Generation Time<\/strong><\/td><td>&lt; 200ms<\/td><td>&gt; 800ms (High TTFB)<\/td><\/tr><tr><td><strong>Database Queries<\/strong><\/td><td>50 \u2013 150<\/td><td>&gt; 500 (Check for loops)<\/td><\/tr><tr><td><strong>Database Time<\/strong><\/td><td>&lt; 50ms<\/td><td>&gt; 200ms (Add indexes)<\/td><\/tr><tr><td><strong>External API Calls<\/strong><\/td><td>0 \u2013 2<\/td><td>&gt; 5 (Consider background processing)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Scenario_Troubleshooting_a_Slow_WooCommerce_Checkout\"><\/span><strong>Scenario: Troubleshooting a Slow WooCommerce Checkout<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If your <strong>mybox<\/strong> store\u2019s checkout is lagging:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Open Query Monitor<\/strong> on the checkout page.<\/li>\n\n\n\n<li><strong>Check HTTP API Calls:<\/strong> Often, a shipping calculator or tax API is taking 2+ seconds to respond.<\/li>\n\n\n\n<li><strong>Check Database Queries:<\/strong> Look for queries involving <code>wp_postmeta<\/code>. If a &#8220;Join&#8221; is taking 300ms, you likely need the <strong>Index WP MySQL For Speed<\/strong> plugin.<\/li>\n\n\n\n<li><strong>Check Hooks:<\/strong> See if an &#8220;Abandoned Cart&#8221; or &#8220;Email Marketing&#8221; plugin is slowing down the <code>woocommerce_after_checkout_form<\/code> hook.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Call_Stack_Finding_the_%E2%80%9CWhy%E2%80%9D\"><\/span><strong>The Call Stack: Finding the &#8220;Why&#8221;<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The most underrated feature of Query Monitor is the <strong>Call Stack<\/strong>. It doesn&#8217;t just tell you <em>that<\/em> a query happened; it shows you the exact path the code took to get there.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If a slow query appears, click on the <strong>Component<\/strong> column.<\/li>\n\n\n\n<li>The stack will show: <code>wp-includes\/plugin.php<\/code> -> <code>wp-content\/plugins\/your-plugin\/file.php<\/code>.<\/li>\n\n\n\n<li>This allows you to tell exactly which plugin (or theme function) is causing the delay, so you can contact the developer or find an alternative.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Working_with_Cache_and_CDN_on_mybox\"><\/span><strong>Working with Cache and CDN on mybox<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Query Monitor bypasses your object cache to show you the &#8220;raw&#8221; performance. However, if you are using a <strong>CDN (like Cloudflare)<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>The &#8220;Logged-In&#8221; Difference:<\/strong> Remember that Query Monitor only runs for you (an admin). Your visitors see a cached version.<\/li>\n\n\n\n<li><strong>The Cold Start:<\/strong> Run your test three times. The first run is the &#8220;Cold Start&#8221; (no cache); the third run shows you the &#8220;Warm Cache&#8221; performance, which is a better indicator of server efficiency.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span><strong>Summary<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Query Monitor is the definitive tool for maintaining a healthy WordPress site on <strong>mybox<\/strong>. It replaces &#8220;I think this plugin is slow&#8221; with &#8220;I know this plugin is making 400 duplicate queries.&#8221; By regularly checking the <strong>Overview<\/strong> and <strong>PHP Errors<\/strong> panels, you ensure your site remains fast, stable, and ready for the 2026 web.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[58,60],"manual_kb_tag":[1651,5249,5252,8076,8460,9589,9590,9591,9592,9593],"class_list":["post-7675","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-web-applications-cms","manualknowledgebasecat-wordpress-plugins","manual_kb_tag-database-queries","manual_kb_tag-query-monitor","manual_kb_tag-duplicate-queries","manual_kb_tag-performance-monitoring","manual_kb_tag-site-performance","manual_kb_tag-wordpress-diagnostics","manual_kb_tag-slow-queries","manual_kb_tag-n-plus-one-queries","manual_kb_tag-call-stack","manual_kb_tag-external-calls"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7675","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\/7675\/revisions"}],"predecessor-version":[{"id":7676,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7675\/revisions\/7676"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=7675"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=7675"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=7675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}