Answers.Body: <p>If you have command-line access and <a href="http://wp-cli.org" rel="nofollow noreferrer">wp-cli</a> enabled (with the CiviCRM extension), you can run: <code>wp civicrm disable-debug</code>.</p>
  
  <p>If you don't have command-line access, run the following SQL via PHPMyAdmin or similar:</p>
  
  <p><code>UPDATE civicrm_setting SET value = 'i:0;' WHERE name = 'backtrace' OR name = 'debug_enabled';</code></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-11T18:28:10.370Z
Answers.LastActivityDate: 2017-12-11T18:28:10.370Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I was encountering an error sending email so I turned on the backtrace/enabled debugging. No I can't get back to the menu to turn it off. I just have a page of error messages.</p>
  
  <p>Help! Anyone got any ideas?</p>
  
  <p>Thanks
  Caroline</p>
  
Tags: <wordpress><debugging>
Title: Can't disable debug/backtrace on WordPress
ThreadText: # Can't disable debug/backtrace on WordPress
  
  (Asked by: username_0 on 2017-12-11)
  
  I was encountering an error sending email so I turned on the backtrace/enabled debugging. No I can't get back to the menu to turn it off. I just have a page of error messages.
  
  Help! Anyone got any ideas?
  
  Thanks
  username_0
  
  **Tags:** wordpress, debugging
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-12-11. Score: 2 | Accepted answer
  
  If you have command-line access and [wp-cli](http://wp-cli.org) enabled (with the CiviCRM extension), you can run: `wp civicrm disable-debug`.
  
  If you don't have command-line access, run the following SQL via PHPMyAdmin or similar:
  
  `UPDATE civicrm_setting SET value = 'i:0;' WHERE name = 'backtrace' OR name = 'debug_enabled';`
  
  
  ---
  
  