{"id":12687,"date":"2019-10-11T21:00:14","date_gmt":"2019-10-11T21:00:14","guid":{"rendered":"https:\/\/kb.pressable.com\/?post_type=article&#038;p=12687"},"modified":"2026-02-14T14:03:39","modified_gmt":"2026-02-14T19:03:39","slug":"accessing-wordpress-error-logs","status":"publish","type":"knowledgebase","link":"https:\/\/pressable.com\/knowledgebase\/accessing-wordpress-error-logs\/","title":{"rendered":"Accessing WordPress Error Logs on Your Site"},"content":{"rendered":"\n<p>In this article, we will review how to access WordPress error logs for your website to assist in debugging a problem and identifying theme and plugin errors.<\/p>\n\n\n\n<p>This error log file is automatically generated and errors can be reviewed via the MyPressable Control Panel, <a href=\"https:\/\/pressable.com\/knowledgebase\/how-to-use-wp-cli\/\" target=\"_blank\" rel=\"noopener\">WP-CLI,<\/a> or <a href=\"https:\/\/pressable.com\/knowledgebase\/setup-and-use-sftp-to-connect-to-your-wordpress-site\/\" target=\"_blank\" rel=\"noreferrer noopener\">SFTP<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mypressable-control-panel-logs\" data-offset=\"125\" class=\"content-heading toc-content__target\">MyPressable Control Panel Logs<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"php-errors\" data-offset=\"125\" class=\"content-heading toc-content__target\">PHP Errors<\/h3>\n\n\n\n<p>The <strong>Logs<\/strong>\u00a0tab can be accessed from a site&#8217;s settings page (<a href=\"https:\/\/my.pressable.com\/sites\">https:\/\/my.pressable.com\/sites<\/a> \u2192 select individual site \u2192 <strong>Logs<\/strong> tab). Once, there, click on <strong>PHP Logs.<\/strong><\/p>\n\n\n\n<p>For easy access and quick filtering, you can choose which error logs to show. These are sorted under 4 <em>Status Codes<\/em> and can be selected from the drop-down menu:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f7befb413db&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69f7befb413db\" class=\"wp-block-image size-large wp-lightbox-container\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"465\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs1.jpg?resize=1024%2C465&#038;ssl=1\" alt=\"\" class=\"wp-image-49593\" srcset=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs1.jpg?resize=1024%2C465&amp;ssl=1 1024w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs1.jpg?resize=300%2C136&amp;ssl=1 300w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs1.jpg?resize=768%2C348&amp;ssl=1 768w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs1.jpg?resize=1536%2C697&amp;ssl=1 1536w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs1.jpg?w=1909&amp;ssl=1 1909w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>The <strong>Get Latest<\/strong> button loads the most recent logs. The logs are displayed on the Control Panel directly and are formatted to give important information at a quick glance.<\/p>\n\n\n\n<p>The <strong>Email PHP Logs<\/strong> button will send a CSV file with the most recent 500 logs of the site to your registered email address.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"430\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs2.jpg?resize=1024%2C430&#038;ssl=1\" alt=\"\" class=\"wp-image-49594\" srcset=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs2.jpg?resize=1024%2C430&amp;ssl=1 1024w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs2.jpg?resize=300%2C126&amp;ssl=1 300w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs2.jpg?resize=768%2C323&amp;ssl=1 768w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs2.jpg?resize=1536%2C646&amp;ssl=1 1536w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs2.jpg?w=1906&amp;ssl=1 1906w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f7befb42b21&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69f7befb42b21\" class=\"wp-block-image aligncenter size-large wp-lightbox-container\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"508\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs3.jpg?resize=1024%2C508&#038;ssl=1\" alt=\"\" class=\"wp-image-49595\" srcset=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs3.jpg?resize=1024%2C508&amp;ssl=1 1024w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs3.jpg?resize=300%2C149&amp;ssl=1 300w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs3.jpg?resize=768%2C381&amp;ssl=1 768w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs3.jpg?resize=1536%2C762&amp;ssl=1 1536w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs3.jpg?w=1673&amp;ssl=1 1673w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"294\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs4.jpg?resize=1024%2C294&#038;ssl=1\" alt=\"\" class=\"wp-image-49596\" srcset=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs4.jpg?resize=1024%2C294&amp;ssl=1 1024w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs4.jpg?resize=300%2C86&amp;ssl=1 300w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs4.jpg?resize=768%2C220&amp;ssl=1 768w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs4.jpg?resize=1536%2C441&amp;ssl=1 1536w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/phplogs4.jpg?w=1666&amp;ssl=1 1666w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n      <section class=\"container max-width-xl press-structure-alert\">\n\n            <div class=\"alert  alert--is-visible margin-y-md padding-top-md padding-bottom-sm padding-x-sm text-md radius-md js-alert\"\n                 role=\"alert\">\n                  <div class=\"flex gap-sm items-start\">\n                        \n      <svg class=\"icon icon--md margin-right-sm\"\n      viewBox=\"0 0 30 30\">\n       <circle cx=\"15\"\n               cy=\"15\"\n               r=\"14\"\n               fill=\"var(--color-primary)\"\n               opacity=\".2\"><\/circle>\n       <path fill=\"none\"\n             stroke=\"var(--color-primary)\"\n             stroke-linecap=\"round\"\n             stroke-linejoin=\"round\"\n             stroke-width=\"2\"\n             d=\"M15 13v9\"><\/path>\n       <circle cx=\"15\"\n               cy=\"8.5\"\n               r=\"1.5\"\n               fill=\"var(--color-primary)\"><\/circle>\n <\/svg>                        <div>\n                                                                  <span\n                                          class=\"block color-contrast-higher text-lg font-bold margin-bottom-sm line-height-sm\">\n                                          Important:                                    <\/span>\n                              \n                                                                  <p>\n                                          If this method isn&#8217;t working, check to see if WP_DEBUG and\/or WP_DEBUG_LOG (<a href=\"https:\/\/pressable.com\/knowledgebase\/accessing-wordpress-error-logs\/#wp_debug_log\">outlined below<\/a>) is enabled on the site. If so, it can break the my.pressable.com error log reporting for the site.                                    <\/p>\n                                                      <\/div>\n                  <\/div>\n            <\/div>\n\n      <\/section>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"webserver-logs\" data-offset=\"125\" class=\"content-heading toc-content__target\">Webserver Logs<\/h3>\n\n\n\n<p>The <strong>Logs<\/strong>\u00a0tab can be accessed from a site&#8217;s settings page (<a href=\"https:\/\/my.pressable.com\/sites\">https:\/\/my.pressable.com\/sites<\/a> \u2192 select individual site \u2192 <strong>Logs<\/strong> tab). Once, there, click on <strong>Webserver Logs<\/strong>:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f7befb437ab&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69f7befb437ab\" class=\"wp-block-image size-large wp-lightbox-container\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"449\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/serverlogs1.jpg?resize=1024%2C449&#038;ssl=1\" alt=\"\" class=\"wp-image-49597\" srcset=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/serverlogs1.jpg?resize=1024%2C449&amp;ssl=1 1024w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/serverlogs1.jpg?resize=300%2C132&amp;ssl=1 300w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/serverlogs1.jpg?resize=768%2C337&amp;ssl=1 768w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/serverlogs1.jpg?resize=1536%2C674&amp;ssl=1 1536w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/serverlogs1.jpg?w=1908&amp;ssl=1 1908w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Pressable provides the last seven days of server logs (up to 10,000 entries), 200 per page.<\/p>\n\n\n\n<p>For easy access and quick filtering, you can choose which logs to show based on <em>Status Code<\/em>, <em>Request Type<\/em>, and searching by <em>User IP<\/em>.<\/p>\n\n\n\n<p>More Webserver log information can be found here: <a href=\"https:\/\/pressable.com\/knowledgebase\/accessing-web-server-logs-for-your-site\/\">https:\/\/pressable.com\/knowledgebase\/accessing-web-server-logs-for-your-site\/<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"sftp\" data-offset=\"125\" class=\"content-heading toc-content__target\">SFTP<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"sftp-access\" data-offset=\"125\" class=\"content-heading toc-content__target\"><strong>SFTP Access<\/strong><\/h3>\n\n\n\n<p>A <code>php-errors<\/code> log is located above the site root, in a folder called <code>\/tmp<\/code>. You will need to connect to the server via SFTP and then move up one directory (outside of the <code>\/htdocs<\/code> directory) to find the <code>\/tmp<\/code> folder.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/php-errors1.png?ssl=1\" alt=\"wordpress error log\" class=\"wp-image-12692\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/php-errors2-1.png?ssl=1\" alt=\"wordpress error logs\" class=\"wp-image-12693\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/php-errors3.png?ssl=1\" alt=\"accessing wordpress error logs\" class=\"wp-image-12694\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"wp-cli\" data-offset=\"125\" class=\"content-heading toc-content__target\">WP-CLI<\/h2>\n\n\n\n<p>You can also access the PHP error log via <a href=\"https:\/\/pressable.com\/knowledgebase\/connect-to-ssh-on-pressable\/\" target=\"_blank\" rel=\"noreferrer noopener\">SSH<\/a>. To view the most recent PHP error log&#8217;s entries, you&#8217;ll need to enter the following command: <code>wp php-errors<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1036\" height=\"273\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/wpcli-errors.png?resize=1036%2C273&#038;ssl=1\" alt=\"\" class=\"wp-image-34325\" style=\"width:840px;height:221px\" srcset=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/wpcli-errors.png?w=1036&amp;ssl=1 1036w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/wpcli-errors.png?resize=300%2C79&amp;ssl=1 300w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/wpcli-errors.png?resize=1024%2C270&amp;ssl=1 1024w, https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/wpcli-errors.png?resize=768%2C202&amp;ssl=1 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"wp_debug_log\" data-offset=\"125\" class=\"content-heading toc-content__target\">WP_DEBUG_LOG<\/h2>\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n      <section class=\"container max-width-xl press-structure-alert\">\n\n            <div class=\"alert  alert--is-visible margin-y-md padding-top-md padding-bottom-sm padding-x-sm text-md radius-md js-alert\"\n                 role=\"alert\">\n                  <div class=\"flex gap-sm items-start\">\n                        \n      <svg class=\"icon icon--md margin-right-sm\"\n      viewBox=\"0 0 30 30\">\n       <circle cx=\"15\"\n               cy=\"15\"\n               r=\"14\"\n               fill=\"var(--color-primary)\"\n               opacity=\".2\"><\/circle>\n       <path fill=\"none\"\n             stroke=\"var(--color-primary)\"\n             stroke-linecap=\"round\"\n             stroke-linejoin=\"round\"\n             stroke-width=\"2\"\n             d=\"M15 13v9\"><\/path>\n       <circle cx=\"15\"\n               cy=\"8.5\"\n               r=\"1.5\"\n               fill=\"var(--color-primary)\"><\/circle>\n <\/svg>                        <div>\n                                                                  <span\n                                          class=\"block color-contrast-higher text-lg font-bold margin-bottom-sm line-height-sm\">\n                                          Important:                                    <\/span>\n                              \n                                                                  <p>\n                                          Manually enabling WP_DEBUG and\/or WP_DEBUG_LOG could break the error logs we automatically provide. (outlined in <a href=\"https:\/\/pressable.com\/knowledgebase\/accessing-wordpress-error-logs\/#php-errors\">the sections above<\/a>). Please disable this once your troubleshooting is done.                                    <\/p>\n                                                      <\/div>\n                  <\/div>\n            <\/div>\n\n      <\/section>\n<\/div>\n\n\n<p>You can enable a WordPress debug log through the wp-config.php file found via SFTP in your site root. You will need to edit wp-config.php and look for a line that reads:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define( 'WP_DEBUG', false );<\/pre>\n\n\n\n<p>Replace it with these three lines:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define( 'WP_DEBUG', true );\ndefine( 'WP_DEBUG_LOG', true );\ndefine( 'WP_DEBUG_DISPLAY', false );<\/pre>\n\n\n\n<p>Your debug.log file will then be generated within the <code>\/wp-content<\/code> directory.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/debug-log.png?ssl=1\" alt=\"how to access wordpress error logs with Pressable\" class=\"wp-image-12701\"\/><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n      <section class=\"container max-width-xl press-structure-alert\">\n\n            <div class=\"alert  alert--is-visible margin-y-md padding-top-md padding-bottom-sm padding-x-sm text-md radius-md js-alert\"\n                 role=\"alert\">\n                  <div class=\"flex gap-sm items-start\">\n                        \n      <svg class=\"icon icon--md margin-right-sm\"\n      viewBox=\"0 0 30 30\">\n       <circle cx=\"15\"\n               cy=\"15\"\n               r=\"14\"\n               fill=\"var(--color-primary)\"\n               opacity=\".2\"><\/circle>\n       <path fill=\"none\"\n             stroke=\"var(--color-primary)\"\n             stroke-linecap=\"round\"\n             stroke-linejoin=\"round\"\n             stroke-width=\"2\"\n             d=\"M15 13v9\"><\/path>\n       <circle cx=\"15\"\n               cy=\"8.5\"\n               r=\"1.5\"\n               fill=\"var(--color-primary)\"><\/circle>\n <\/svg>                        <div>\n                                                                  <span\n                                          class=\"block color-contrast-higher text-lg font-bold margin-bottom-sm line-height-sm\">\n                                          Important:                                    <\/span>\n                              \n                                                                  <p>\n                                          <p>If you have WP_DEBUG and\/or WP_DEBUG_LOG set as TRUE for more than a day or two, consider deleting the <strong>debug.log file<\/strong> in your <strong>wp-content<\/strong> directory as that can quickly grow in size and impact your site storage.<\/p>\n<p><strong>Please note that, for security reasons, displaying <span class=\"p2-glossary-item\" data-p2-glossary-item-id=\"2406-PHP\">PHP<\/span> errors directly in the browser is blocked on Pressable.<\/strong><\/p>\n                                    <\/p>\n                                                      <\/div>\n                  <\/div>\n            <\/div>\n\n      <\/section>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"woocommerce-wc-logs\" data-offset=\"125\" class=\"content-heading toc-content__target\">WooCommerce wc-logs<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"wp-admin-access\" data-offset=\"125\" class=\"content-heading toc-content__target\"><strong>WP Admin Access<\/strong><\/h3>\n\n\n\n<p>If your site includes a WooCommerce store, WooCommerce-specific logs can be found under <strong>WooCommerce &gt; Status &gt; Logs<\/strong> as outlined here: <a href=\"https:\/\/woocommerce.com\/document\/understanding-the-woocommerce-system-status-report\/#error-logs\" target=\"_blank\" rel=\"noopener\">https:\/\/woocommerce.com\/document\/understanding-the-woocommerce-system-status-report\/#error-logs<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"sftp-access\" data-offset=\"125\" class=\"content-heading toc-content__target\"><strong>SFTP Access<\/strong><\/h3>\n\n\n\n<p>WooCommerce logs can also be found within <code>\/wp-content\/uploads\/wc-logs<\/code>. Those can be accessed through SFTP.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/wc-logs.png?ssl=1\" alt=\"Pressable wordpress error logs\" class=\"wp-image-12703\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pressable.com\/wp-content\/uploads\/2019\/10\/wc-logs2.png?ssl=1\" alt=\"wordpress error log with Pressable\" class=\"wp-image-12704\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will review how to access WordPress error logs for your website to assist in debugging a problem and identifying theme and plugin errors. This error log file is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":10,"template":"","meta":{"content-type":"","footnotes":""},"knowledgebase-categories":[],"kb-tags":[],"class_list":["post-12687","knowledgebase","type-knowledgebase","status-publish","hentry"],"jetpack_sharing_enabled":true,"meta_box":{"kb_updater":"1"},"_links":{"self":[{"href":"https:\/\/pressable.com\/wp-json\/wp\/v2\/knowledgebase\/12687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressable.com\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/pressable.com\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/pressable.com\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":5,"href":"https:\/\/pressable.com\/wp-json\/wp\/v2\/knowledgebase\/12687\/revisions"}],"predecessor-version":[{"id":49598,"href":"https:\/\/pressable.com\/wp-json\/wp\/v2\/knowledgebase\/12687\/revisions\/49598"}],"wp:attachment":[{"href":"https:\/\/pressable.com\/wp-json\/wp\/v2\/media?parent=12687"}],"wp:term":[{"taxonomy":"knowledgebase-categories","embeddable":true,"href":"https:\/\/pressable.com\/wp-json\/wp\/v2\/knowledgebase-categories?post=12687"},{"taxonomy":"kb-tags","embeddable":true,"href":"https:\/\/pressable.com\/wp-json\/wp\/v2\/kb-tags?post=12687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}