Answers.Body: <p>Did you check your firewall settings?
  The wordfence plugin (on WordPress) was doing that for us. Had to white list the params.
  Also, can be an error in the html of your email (or a smarty error).
  As @demerit said it's a generic error and can be plenty of things. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-06T16:07:58.870Z
Answers.LastActivityDate: 2019-08-06T16:07:58.870Z
Answers.UserDisplayName: netzih
Body: <p><a href="https://i.sstatic.net/b9ahM.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/b9ahM.jpg" alt="Sorry and error occurred and your information was not saved."></a></p>
  
  <p>While in CiviMail I keep getting this message</p>
  
  <p>"Sorry an error occurred and your information was not saved."</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-08-06T14:45:25.023Z
Comments.Text: Unfortunately it's a generic error message. Can you give more details about what is happening "in CiviMail" at that moment? Or add a `console.trace();` line in here https://github.com/civicrm/civicrm-core/blob/5.15.2/js/Common.js#L1055 to get some info in the javascript console about what triggered it?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-08-06T19:27:05.247Z
Comments.Text: The extension Log Viewer makes it v easy to see errors via the UI https://civicrm.org/extensions/civicrm-log-viewer
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-08-07T23:21:02.787Z
Comments.Text: I have added the log viewer and nothing new appears in the log when this happens.
Comments.UserDisplayName: Mass Gun Rights
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-08-07T23:23:07.297Z
Comments.Text: Actually I am seeing a lot of these in the log
  
  [info] $backTrace = #0 /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(381): CRM_Core_Error::backtrace("backTrace", TRUE)
Comments.UserDisplayName: Mass Gun Rights
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-08-07T23:24:49.587Z
Comments.Text: = #0 /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(381): CRM_Core_Error::backtrace("backTrace", TRUE)
  #1 /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php(398): CRM_Core_Error::fatal("You do not have permission to access this page.")
  #2 /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Utils/System.php(74): CRM_Utils_System_WordPress->permissionDenied()
  #3 /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(229): CRM_Utils_System::__callStatic("permissionDenied", (Array:0))
Comments.UserDisplayName: Mass Gun Rights
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-08-07T23:29:05.250Z
Comments.Text: New Mailing
  TYPE IN A Mailing Name
  Wait a few seconds and the error happens
Comments.UserDisplayName: Mass Gun Rights
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-08-07T23:32:40.877Z
Comments.Text: access.log says this when the error happens.
  
  47.14.90.19 - - [07/Aug/2019:19:31:50 -0400] "POST /wp-admin/admin.php?page=CiviCRM&q=civicrm/ajax/rest HTTP/1.1" 200 841 "https://massgunrights.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fa%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36"
Comments.UserDisplayName: Mass Gun Rights
Tags: <civimail>
Title: How to I track down this problem when I try to CIVIMail? Sorry an error occurred and your information was not saved
ThreadText: # How to I track down this problem when I try to CIVIMail? Sorry an error occurred and your information was not saved
  
  (Asked by: username_0 on 2019-08-06)
  
  [![Sorry and error occurred and your information was not saved.](https://i.sstatic.net/b9ahM.jpg)](https://i.sstatic.net/b9ahM.jpg)
  
  While in CiviMail I keep getting this message
  
  "Sorry an error occurred and your information was not saved."
  
  **Tags:** civimail
  
  > **Comments:**
  > **username_1**: Unfortunately it's a generic error message. Can you give more details about what is happening "in CiviMail" at that moment? Or add a `console.trace();` line in here https://github.com/civicrm/civicrm-core/blob/5.15.2/js/Common.js#L1055 to get some info in the javascript console about what triggered it?  
  > **username_2**: The extension Log Viewer makes it v easy to see errors via the UI https://civicrm.org/extensions/civicrm-log-viewer  
  > **username_0**: I have added the log viewer and nothing new appears in the log when this happens.  
  > **username_0**: Actually I am seeing a lot of these in the log  [info] $backTrace = #0 /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(381): CRM_Core_Error::backtrace("backTrace", TRUE)  
  > **username_0**: = #0 /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(381): CRM_Core_Error::backtrace("backTrace", TRUE) #1 /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php(398): CRM_Core_Error::fatal("You do not have permission to access this page.") #2 /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Utils/System.php(74): CRM_Utils_System_WordPress->permissionDenied() #3 /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(229): CRM_Utils_System::__callStatic("permissionDenied", (Array:0))  
  > **username_0**: New Mailing TYPE IN A Mailing Name Wait a few seconds and the error happens  
  > **username_0**: access.log says this when the error happens.  47.14.90.19 - - [07/Aug/2019:19:31:50 -0400] "POST /wp-admin/admin.php?page=CiviCRM&q=civicrm/ajax/rest HTTP/1.1" 200 841 "https://username_0.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fa%2F" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36"  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2019-08-06. Score: 1
  
  Did you check your firewall settings?
  The wordfence plugin (on WordPress) was doing that for us. Had to white list the params.
  Also, can be an error in the html of your email (or a smarty error).
  As @username_1 said it's a generic error and can be plenty of things.
  
  
  ---
  
  