{"id":470,"date":"2026-03-11T04:28:06","date_gmt":"2026-03-11T07:28:06","guid":{"rendered":"https:\/\/redetecnologia.net.br\/blog\/?p=470"},"modified":"2026-03-11T04:32:13","modified_gmt":"2026-03-11T07:32:13","slug":"como-gerar-um-debug-para-ver-erros-no-wordpress","status":"publish","type":"post","link":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/","title":{"rendered":"Como gerar um debug para ver erros no WordPress"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"470\" class=\"elementor elementor-470\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-096790d e-flex e-con-boxed e-con e-parent\" data-id=\"096790d\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3375647 elementor-widget elementor-widget-heading\" data-id=\"3375647\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Como gerar um debug para ver erros no WordPress\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-47350d7 e-flex e-con-boxed e-con e-parent\" data-id=\"47350d7\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-29f209c elementor-widget elementor-widget-text-editor\" data-id=\"29f209c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 data-section-id=\"1a85hep\" data-start=\"517\" data-end=\"549\"><span style=\"color: #000000;\">1) Confere o <code data-start=\"534\" data-end=\"549\">wp-config.php<\/code><\/span><\/h3><p data-start=\"550\" data-end=\"610\"><span style=\"color: #000000;\">Deixa <strong data-start=\"556\" data-end=\"570\">exatamente<\/strong> assim, antes da linha final do arquivo:<\/span><\/p><div class=\"relative w-full mt-4 mb-1\"><div class=\"\"><div class=\"relative\"><div class=\"h-full min-h-0 min-w-0\"><div class=\"h-full min-h-0 min-w-0\"><div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\"><div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\"><div class=\"pointer-events-none absolute inset-x-4 top-12 bottom-4\"><div class=\"pointer-events-none sticky z-40 shrink-0 z-1!\"><div class=\"sticky bg-token-border-light\">\u00a0<\/div><\/div><\/div><div class=\"\"><div class=\"relative z-0 flex max-w-full\"><div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037c5 \u037cj\" dir=\"ltr\"><div class=\"cm-scroller\"><div class=\"cm-content q9tKkq_readonly\"><span style=\"color: #000000;\">define( &#8216;WP_DEBUG&#8217;, true );<\/span><br \/><span style=\"color: #000000;\">define( &#8216;WP_DEBUG_LOG&#8217;, true );<\/span><br \/><span style=\"color: #000000;\">define( &#8216;WP_DEBUG_DISPLAY&#8217;, false );<\/span><br \/><span style=\"color: #000000;\">@ini_set( &#8216;display_errors&#8217;, 0 );<\/span><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><div class=\"\"><div class=\"\">\u00a0<\/div><\/div><\/div><\/div><\/div><p data-start=\"754\" data-end=\"848\"><span style=\"color: #000000;\"><code data-start=\"754\" data-end=\"768\">WP_DEBUG_LOG<\/code> s\u00f3 funciona se <code data-start=\"784\" data-end=\"794\">WP_DEBUG<\/code> estiver <code data-start=\"803\" data-end=\"809\">true<\/code>.<\/span><\/p><p data-start=\"850\" data-end=\"923\"><span style=\"color: #000000;\">Tamb\u00e9m confira se <strong data-start=\"868\" data-end=\"916\">n\u00e3o existe outra linha depois sobrescrevendo<\/strong>, tipo:<\/span><\/p><div class=\"relative w-full mt-4 mb-1\"><div class=\"\"><div class=\"relative\"><div class=\"h-full min-h-0 min-w-0\"><div class=\"h-full min-h-0 min-w-0\"><div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\"><div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\"><div class=\"pointer-events-none absolute inset-x-4 top-12 bottom-4\"><div class=\"pointer-events-none sticky z-40 shrink-0 z-1!\"><div class=\"sticky bg-token-border-light\">\u00a0<\/div><\/div><\/div><div class=\"\"><div class=\"relative z-0 flex max-w-full\"><div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037c5 \u037cj\" dir=\"ltr\"><div class=\"cm-scroller\"><div class=\"cm-content q9tKkq_readonly\"><span style=\"color: #000000;\">define( &#8216;WP_DEBUG&#8217;, false );<\/span><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><div class=\"\"><div class=\"\">\u00a0<\/div><\/div><\/div><\/div><\/div><p data-start=\"966\" data-end=\"1002\"><span style=\"color: #000000;\">ou outro <code data-start=\"975\" data-end=\"989\">WP_DEBUG_LOG<\/code> mais abaixo.<\/span><\/p><h3 data-section-id=\"ynvj96\" data-start=\"1004\" data-end=\"1053\"><span style=\"color: #000000;\">2) Teste se o WordPress consegue escrever log<\/span><\/h3><p data-start=\"1054\" data-end=\"1113\"><span style=\"color: #000000;\">No <code data-start=\"1057\" data-end=\"1072\">functions.php<\/code> do tema ativo, adicione temporariamente:<\/span><\/p><div class=\"relative w-full mt-4 mb-1\"><div class=\"\"><div class=\"relative\"><div class=\"h-full min-h-0 min-w-0\"><div class=\"h-full min-h-0 min-w-0\"><div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\"><div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\"><div class=\"pointer-events-none absolute inset-x-4 top-12 bottom-4\"><div class=\"pointer-events-none sticky z-40 shrink-0 z-1!\"><div class=\"sticky bg-token-border-light\">\u00a0<\/div><\/div><\/div><div class=\"\"><div class=\"relative z-0 flex max-w-full\"><div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037c5 \u037cj\" dir=\"ltr\"><div class=\"cm-scroller\"><div class=\"cm-content q9tKkq_readonly\"><span style=\"color: #000000;\">error_log(&#8216;teste-log-home&#8217;);<\/span><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><div class=\"\"><div class=\"\">\u00a0<\/div><\/div><\/div><\/div><\/div><p data-start=\"1156\" data-end=\"1223\"><span style=\"color: #000000;\">Depois carregue o site e veja se aparece em:<\/span><br \/><span style=\"color: #000000;\"><code data-start=\"1201\" data-end=\"1223\">wp-content\/debug.log<\/code><\/span><\/p><p data-start=\"1225\" data-end=\"1300\"><span style=\"color: #000000;\">Se n\u00e3o aparecer, o problema n\u00e3o \u00e9 \u201cfalta de erro\u201d; \u00e9 <strong data-start=\"1278\" data-end=\"1299\">falta de grava\u00e7\u00e3o<\/strong>.<\/span><\/p><h3 data-section-id=\"1443fdm\" data-start=\"1302\" data-end=\"1345\"><span style=\"color: #000000;\">3) Veja permiss\u00e3o da pasta <code data-start=\"1333\" data-end=\"1345\">wp-content<\/code><\/span><\/h3><p data-start=\"1346\" data-end=\"1429\"><span style=\"color: #000000;\">Se o arquivo n\u00e3o \u00e9 criado, a pasta pode estar sem permiss\u00e3o de escrita.<\/span><br data-start=\"1417\" data-end=\"1420\" \/><span style=\"color: #000000;\">Em geral:<\/span><\/p><ul data-start=\"1430\" data-end=\"1463\"><li data-section-id=\"rar741\" data-start=\"1430\" data-end=\"1445\"><p data-start=\"1432\" data-end=\"1445\"><span style=\"color: #000000;\">pastas: <code data-start=\"1440\" data-end=\"1445\">755<\/code><\/span><\/p><\/li><li data-section-id=\"1551si8\" data-start=\"1446\" data-end=\"1463\"><p data-start=\"1448\" data-end=\"1463\"><span style=\"color: #000000;\">arquivos: <code data-start=\"1458\" data-end=\"1463\">644<\/code><\/span><\/p><\/li><\/ul><p data-start=\"1465\" data-end=\"1507\"><span style=\"color: #000000;\">Se necess\u00e1rio, crie manualmente o arquivo:<\/span><\/p><div class=\"relative w-full mt-4 mb-1\"><div class=\"\"><div class=\"relative\"><div class=\"h-full min-h-0 min-w-0\"><div class=\"h-full min-h-0 min-w-0\"><div class=\"border border-token-border-light border-radius-3xl corner-superellipse\/1.1 rounded-3xl\"><div class=\"h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse\/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback\"><div class=\"pointer-events-none absolute inset-x-4 top-12 bottom-4\"><div class=\"pointer-events-none sticky z-40 shrink-0 z-1!\"><div class=\"sticky bg-token-border-light\">\u00a0<\/div><\/div><\/div><div class=\"\"><div class=\"relative z-0 flex max-w-full\"><div id=\"code-block-viewer\" class=\"q9tKkq_viewer cm-editor z-10 light:cm-light dark:cm-light flex h-full w-full flex-col items-stretch \u037c5 \u037cj\" dir=\"ltr\"><div class=\"cm-scroller\"><div class=\"cm-content q9tKkq_readonly\"><span style=\"color: #000000;\">wp-content\/debug.log<\/span><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><div class=\"\"><div class=\"\">\u00a0<\/div><\/div><\/div><\/div><\/div><p data-start=\"1543\" data-end=\"1581\"><span style=\"color: #000000;\">e deixe permiss\u00e3o de escrita adequada.<\/span><\/p><h3 data-section-id=\"1krkvuk\" data-start=\"1583\" data-end=\"1620\"><span style=\"color: #000000;\">4) Olhe o log de erro do servidor<\/span><\/h3><p data-start=\"1621\" data-end=\"1805\"><span style=\"color: #000000;\">Como o Elementor orienta, o <strong data-start=\"1649\" data-end=\"1656\">500<\/strong> normalmente aparece no <strong data-start=\"1680\" data-end=\"1708\">PHP error log\/server log<\/strong> mesmo quando o <code data-start=\"1724\" data-end=\"1735\">debug.log<\/code> do WordPress n\u00e3o registra nada.<\/span><\/p><p data-start=\"1807\" data-end=\"1853\"><span style=\"color: #000000;\">Procure no painel da hospedagem por algo como:<\/span><\/p><ul data-start=\"1854\" data-end=\"1986\"><li data-section-id=\"5swljo\" data-start=\"1854\" data-end=\"1869\"><p data-start=\"1856\" data-end=\"1869\"><span style=\"color: #000000;\"><strong data-start=\"1856\" data-end=\"1869\">Error Log<\/strong><\/span><\/p><\/li><li data-section-id=\"8k16v0\" data-start=\"1870\" data-end=\"1889\"><p data-start=\"1872\" data-end=\"1889\"><span style=\"color: #000000;\"><strong data-start=\"1872\" data-end=\"1889\">PHP Error Log<\/strong><\/span><\/p><\/li><li data-section-id=\"4bzksf\" data-start=\"1890\" data-end=\"1900\"><p data-start=\"1892\" data-end=\"1900\"><span style=\"color: #000000;\"><strong data-start=\"1892\" data-end=\"1900\">Logs<\/strong><\/span><\/p><\/li><li data-section-id=\"1n1pn06\" data-start=\"1901\" data-end=\"1937\"><p data-start=\"1903\" data-end=\"1937\"><span style=\"color: #000000;\"><strong data-start=\"1903\" data-end=\"1937\">MultiPHP INI Editor \/ PHP Logs<\/strong><\/span><\/p><\/li><li data-section-id=\"1bmdoq\" data-start=\"1938\" data-end=\"1960\"><p data-start=\"1940\" data-end=\"1960\"><span style=\"color: #000000;\"><strong data-start=\"1940\" data-end=\"1960\">Apache error log<\/strong><\/span><\/p><\/li><li data-section-id=\"imrk2v\" data-start=\"1961\" data-end=\"1986\"><p data-start=\"1963\" data-end=\"1986\"><span style=\"color: #000000;\"><strong data-start=\"1963\" data-end=\"1986\">LiteSpeed error log<\/strong><\/span><\/p><\/li><\/ul><p data-start=\"1988\" data-end=\"2050\"><span style=\"color: #000000;\">Se for cPanel, Plesk ou DirectAdmin, quase sempre isso existe.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Como gerar um debug para ver erros no WordPress 1) Confere o wp-config.php Deixa exatamente assim, antes da linha final do arquivo: \u00a0define( &#8216;WP_DEBUG&#8217;, true );define( &#8216;WP_DEBUG_LOG&#8217;, true );define( &#8216;WP_DEBUG_DISPLAY&#8217;, false );@ini_set( &#8216;display_errors&#8217;, 0 );\u00a0 WP_DEBUG_LOG s\u00f3 funciona se WP_DEBUG estiver true. Tamb\u00e9m confira se n\u00e3o existe outra linha depois sobrescrevendo, tipo: \u00a0define( &#8216;WP_DEBUG&#8217;, false [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":476,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,1],"tags":[],"class_list":["post-470","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-desenvolvimento","category-destaques"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Como gerar um debug para ver erros no Wordpress - Blog da Rede Tecnologia<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Como gerar um debug para ver erros no Wordpress - Blog da Rede Tecnologia\" \/>\n<meta property=\"og:description\" content=\"Como gerar um debug para ver erros no WordPress 1) Confere o wp-config.php Deixa exatamente assim, antes da linha final do arquivo: \u00a0define( &#8216;WP_DEBUG&#8217;, true );define( &#8216;WP_DEBUG_LOG&#8217;, true );define( &#8216;WP_DEBUG_DISPLAY&#8217;, false );@ini_set( &#8216;display_errors&#8217;, 0 );\u00a0 WP_DEBUG_LOG s\u00f3 funciona se WP_DEBUG estiver true. Tamb\u00e9m confira se n\u00e3o existe outra linha depois sobrescrevendo, tipo: \u00a0define( &#8216;WP_DEBUG&#8217;, false [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog da Rede Tecnologia\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-11T07:28:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-11T07:32:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2026\/03\/wordpress.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Andr\u00e9 Bento\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andr\u00e9 Bento\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/\"},\"author\":{\"name\":\"Andr\u00e9 Bento\",\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/#\/schema\/person\/a9a54e3c578b54ca95d7b0ea355c008d\"},\"headline\":\"Como gerar um debug para ver erros no WordPress\",\"datePublished\":\"2026-03-11T07:28:06+00:00\",\"dateModified\":\"2026-03-11T07:32:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/\"},\"wordCount\":216,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2026\/03\/wordpress.jpg\",\"articleSection\":[\"Desenvolvimento\",\"Destaques\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/\",\"url\":\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/\",\"name\":\"Como gerar um debug para ver erros no Wordpress - Blog da Rede Tecnologia\",\"isPartOf\":{\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2026\/03\/wordpress.jpg\",\"datePublished\":\"2026-03-11T07:28:06+00:00\",\"dateModified\":\"2026-03-11T07:32:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#primaryimage\",\"url\":\"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2026\/03\/wordpress.jpg\",\"contentUrl\":\"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2026\/03\/wordpress.jpg\",\"width\":800,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/redetecnologia.net.br\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Como gerar um debug para ver erros no WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/#website\",\"url\":\"https:\/\/redetecnologia.net.br\/blog\/\",\"name\":\"Ninja News\",\"description\":\"Noticias e tutoriais da Rede Tecnologia.\",\"publisher\":{\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/#organization\"},\"alternateName\":\"Ninja News\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/redetecnologia.net.br\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/#organization\",\"name\":\"Ninja News\",\"url\":\"https:\/\/redetecnologia.net.br\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2024\/01\/Logo.svg\",\"contentUrl\":\"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2024\/01\/Logo.svg\",\"width\":158,\"height\":28,\"caption\":\"Ninja News\"},\"image\":{\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/#\/schema\/person\/a9a54e3c578b54ca95d7b0ea355c008d\",\"name\":\"Andr\u00e9 Bento\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/redetecnologia.net.br\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9d21777ea75130ee9b45c7fc3266132239f042c271ce2dc4140e07b2f1bee3c2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9d21777ea75130ee9b45c7fc3266132239f042c271ce2dc4140e07b2f1bee3c2?s=96&d=mm&r=g\",\"caption\":\"Andr\u00e9 Bento\"},\"sameAs\":[\"https:\/\/redetecnologia.net.br\/blog\"],\"url\":\"https:\/\/redetecnologia.net.br\/blog\/author\/admsite\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Como gerar um debug para ver erros no Wordpress - Blog da Rede Tecnologia","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/","og_locale":"pt_BR","og_type":"article","og_title":"Como gerar um debug para ver erros no Wordpress - Blog da Rede Tecnologia","og_description":"Como gerar um debug para ver erros no WordPress 1) Confere o wp-config.php Deixa exatamente assim, antes da linha final do arquivo: \u00a0define( &#8216;WP_DEBUG&#8217;, true );define( &#8216;WP_DEBUG_LOG&#8217;, true );define( &#8216;WP_DEBUG_DISPLAY&#8217;, false );@ini_set( &#8216;display_errors&#8217;, 0 );\u00a0 WP_DEBUG_LOG s\u00f3 funciona se WP_DEBUG estiver true. Tamb\u00e9m confira se n\u00e3o existe outra linha depois sobrescrevendo, tipo: \u00a0define( &#8216;WP_DEBUG&#8217;, false [&hellip;]","og_url":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/","og_site_name":"Blog da Rede Tecnologia","article_published_time":"2026-03-11T07:28:06+00:00","article_modified_time":"2026-03-11T07:32:13+00:00","og_image":[{"width":800,"height":400,"url":"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2026\/03\/wordpress.jpg","type":"image\/jpeg"}],"author":"Andr\u00e9 Bento","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Andr\u00e9 Bento","Est. tempo de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#article","isPartOf":{"@id":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/"},"author":{"name":"Andr\u00e9 Bento","@id":"https:\/\/redetecnologia.net.br\/blog\/#\/schema\/person\/a9a54e3c578b54ca95d7b0ea355c008d"},"headline":"Como gerar um debug para ver erros no WordPress","datePublished":"2026-03-11T07:28:06+00:00","dateModified":"2026-03-11T07:32:13+00:00","mainEntityOfPage":{"@id":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/"},"wordCount":216,"commentCount":0,"publisher":{"@id":"https:\/\/redetecnologia.net.br\/blog\/#organization"},"image":{"@id":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2026\/03\/wordpress.jpg","articleSection":["Desenvolvimento","Destaques"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/","url":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/","name":"Como gerar um debug para ver erros no Wordpress - Blog da Rede Tecnologia","isPartOf":{"@id":"https:\/\/redetecnologia.net.br\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2026\/03\/wordpress.jpg","datePublished":"2026-03-11T07:28:06+00:00","dateModified":"2026-03-11T07:32:13+00:00","breadcrumb":{"@id":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#primaryimage","url":"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2026\/03\/wordpress.jpg","contentUrl":"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2026\/03\/wordpress.jpg","width":800,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/redetecnologia.net.br\/blog\/como-gerar-um-debug-para-ver-erros-no-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/redetecnologia.net.br\/blog\/"},{"@type":"ListItem","position":2,"name":"Como gerar um debug para ver erros no WordPress"}]},{"@type":"WebSite","@id":"https:\/\/redetecnologia.net.br\/blog\/#website","url":"https:\/\/redetecnologia.net.br\/blog\/","name":"Ninja News","description":"Noticias e tutoriais da Rede Tecnologia.","publisher":{"@id":"https:\/\/redetecnologia.net.br\/blog\/#organization"},"alternateName":"Ninja News","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/redetecnologia.net.br\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/redetecnologia.net.br\/blog\/#organization","name":"Ninja News","url":"https:\/\/redetecnologia.net.br\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/redetecnologia.net.br\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2024\/01\/Logo.svg","contentUrl":"https:\/\/redetecnologia.net.br\/blog\/wp-content\/uploads\/2024\/01\/Logo.svg","width":158,"height":28,"caption":"Ninja News"},"image":{"@id":"https:\/\/redetecnologia.net.br\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/redetecnologia.net.br\/blog\/#\/schema\/person\/a9a54e3c578b54ca95d7b0ea355c008d","name":"Andr\u00e9 Bento","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/redetecnologia.net.br\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9d21777ea75130ee9b45c7fc3266132239f042c271ce2dc4140e07b2f1bee3c2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9d21777ea75130ee9b45c7fc3266132239f042c271ce2dc4140e07b2f1bee3c2?s=96&d=mm&r=g","caption":"Andr\u00e9 Bento"},"sameAs":["https:\/\/redetecnologia.net.br\/blog"],"url":"https:\/\/redetecnologia.net.br\/blog\/author\/admsite\/"}]}},"_links":{"self":[{"href":"https:\/\/redetecnologia.net.br\/blog\/wp-json\/wp\/v2\/posts\/470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redetecnologia.net.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redetecnologia.net.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redetecnologia.net.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/redetecnologia.net.br\/blog\/wp-json\/wp\/v2\/comments?post=470"}],"version-history":[{"count":3,"href":"https:\/\/redetecnologia.net.br\/blog\/wp-json\/wp\/v2\/posts\/470\/revisions"}],"predecessor-version":[{"id":475,"href":"https:\/\/redetecnologia.net.br\/blog\/wp-json\/wp\/v2\/posts\/470\/revisions\/475"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/redetecnologia.net.br\/blog\/wp-json\/wp\/v2\/media\/476"}],"wp:attachment":[{"href":"https:\/\/redetecnologia.net.br\/blog\/wp-json\/wp\/v2\/media?parent=470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redetecnologia.net.br\/blog\/wp-json\/wp\/v2\/categories?post=470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redetecnologia.net.br\/blog\/wp-json\/wp\/v2\/tags?post=470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}