Answers.Body: <p>I too just had this problem - upon any action in the control panel flashed "An unknown error occurred". </p>
  
  <p>What I found in my craft web.log was: 
  "ErrorException: ignore_user_abort() has been disabled for security reasons in"</p>
  
  <p>Apparently in my server setup via Runcloud there are various advanced boilerplate Disable_Functions. I removed "ignore_user_abort". Problem solved. </p>
  
  <p>Now the question is what does ignore_user_abort actually do... </p>
  
  <p>Craft 3
  PHP 7.2</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-22T02:25:41.250Z
Answers.Text: Thank you! `ignore_user_abort()` is disabled by default on runcloud (php 7.2) and was causing all kinds of issues. @BradBell — may want to consider adding this to the server check in the control panel along with `proc_open()`, etc.
Answers.UserDisplayName: Douglas McDonald
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-08T20:10:37.843Z
Answers.LastActivityDate: 2018-11-08T20:10:37.843Z
Answers.UserDisplayName: Will
Answers.Body: <p><em>Something</em> should be in the logs.  If it's happening on every page in the control panel, then most likely it's cURL related.</p>
  
  <p>Clear your <code>craft/storage/runtime/logs</code> files, reproduce the issue, then search the log file for <code>[error]</code> and that should have the underlying error message in it.</p>
  
  <p>If nothing is there, then the 500 error is being generated by your web server and it should be in your web server's error logs.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-16T18:25:29.033Z
Answers.LastActivityDate: 2015-12-16T18:25:29.033Z
Answers.UserDisplayName: Brad Bell
Body: <p>When creating, editing or deleting anything in CP the notification with "An unknown error occurred" is appended at the top. </p>
  
  <p>I check the console and I get a 500 on these: </p>
  
  <pre><code>/index.php/admin/actions/tasks/runPendingTasks
  /index.php/admin/actions/tasks/getRunningTaskInfo
  </code></pre>
  
  <p>Nothing is in the logs that I can see.</p>
  
Tags: <error-message><error>
Title: An unknown error occurred all the time
ThreadText: # An unknown error occurred all the time
  
  (Asked by: username_0 on 2015-12-16)
  
  When creating, editing or deleting anything in CP the notification with "An unknown error occurred" is appended at the top.
  
  I check the console and I get a 500 on these:
  
  ```
  /index.php/admin/actions/tasks/runPendingTasks
  /index.php/admin/actions/tasks/getRunningTaskInfo
  
  ```
  
  Nothing is in the logs that I can see.
  
  **Tags:** error-message, error
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2018-11-08. Score: 4
  
  I too just had this problem - upon any action in the control panel flashed "An unknown error occurred".
  
  What I found in my craft web.log was:
  "ErrorException: ignore\_user\_abort() has been disabled for security reasons in"
  
  Apparently in my server setup via Runcloud there are various advanced boilerplate Disable\_Functions. I removed "ignore\_user\_abort". Problem solved.
  
  Now the question is what does ignore\_user\_abort actually do...
  
  Craft 3
  PHP 7.2
  
  > **Comments:**
  > **username_2**: Thank you! `ignore_user_abort()` is disabled by default on runcloud (php 7.2) and was causing all kinds of issues. @username_3 — may want to consider adding this to the server check in the control panel along with `proc_open()`, etc.  
  
  ---
  
  ### Answer by username_3 on 2015-12-16. Score: 3
  
  *Something* should be in the logs. If it's happening on every page in the control panel, then most likely it's cURL related.
  
  Clear your `craft/storage/runtime/logs` files, reproduce the issue, then search the log file for `[error]` and that should have the underlying error message in it.
  
  If nothing is there, then the 500 error is being generated by your web server and it should be in your web server's error logs.
  
  
  ---
  
  