Body: <p>I have drupal7 with CiviCRM 5.69.5
  Since yesterday the contact dashboard for each contact is not working.
  If I access /civicrm/contact/view?reset=1&amp;cid=1 or any other cid I get the following error inside the civicrm windows in drupal:</p>
  <blockquote>
  <p>Errore
  The website encountered an unexpected error. Please try again later.</p>
  </blockquote>
  <p>If I check in Chrome DevTools I see the following:</p>
  <blockquote>
  <p>GET https:../civicrm/contact/view?reset=1&amp;cid=1 500 (Service unavailable (with message))</p>
  </blockquote>
  <p>I also get the same error when saving after editing or creating new data for a contact (contributions, etc).</p>
  <p>I am unsure why this happened, I was doing an update of a plugin and maybe something went wrong. I think I maybe had a DBError at some point, but then it completed. I must say that for once I was doing the extension upgrade without giving to much attention... lately there are never problems.</p>
  <p>If you have clues on how to resolve (let me know what other info you need) thanks.</p>
  <p>The strange thing is that when I activate debugging in CiviCRM the problem disappears and the contact dashboard works again!</p>
  <p>Again does someone have any clues?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-09-10T21:00:25.070Z
Comments.Text: Check in the web server log for the error (e.g. apache, nginx).
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-09-10T22:16:40.327Z
Comments.Text: When I load /civicrm/contact/view?reset=1&cid=1 I don't see any errors in the apache2 logfile (with loglevel debug)
Comments.UserDisplayName: Johan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-09-11T00:17:34.617Z
Comments.Text: Anything in the civi log? What about if you turn backtrace on - it's in the same place as debugging - and then look at the response tab to the 500 error in the network tab?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-09-11T09:11:36.380Z
Comments.Text: Nothing shows up in the network tab of DevTools in Chrome when I activate backtrace.
  In the civi logfile I only have this warning:
  
  2024-09-11 11:00:24+0200  [warning] Deprecated function CRM_Contribute_BAO_Query::whereClauseSingle, use search by receive_date.
  CRM_Core_Error::deprecatedFunctionWarning
  CRM_Contribute_BAO_Query::whereClauseSingle
  CRM_Contribute_BAO_Query::where
  CRM_Core_Component::alterQuery
  Array
  (
      [civi.tag] => deprecated
  )
Comments.UserDisplayName: Johan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-09-11T12:12:39.940Z
Comments.Text: At the end, I restored the backup of the Civicrm DB from the previous day. Aftar restoring the DB, CiviCRM asked to update the DB for one extension (CiviRules 3.12) and this time I cheked the screen while he was doing it. The errors are gone and did not come back with the update.
Comments.UserDisplayName: Johan
Tags: <drupal-7>
Title: I have an error that disappears when I set debug option in civicrm
ThreadText: # I have an error that disappears when I set debug option in civicrm
  
  (Asked by: username_0 on 2024-09-10)
  
  I have drupal7 with CiviCRM 5.69.5
  Since yesterday the contact dashboard for each contact is not working.
  If I access /civicrm/contact/view?reset=1&cid=1 or any other cid I get the following error inside the civicrm windows in drupal:
  
  > Errore
  > The website encountered an unexpected error. Please try again later.
  
  If I check in Chrome DevTools I see the following:
  
  > GET https:../civicrm/contact/view?reset=1&cid=1 500 (Service unavailable (with message))
  
  I also get the same error when saving after editing or creating new data for a contact (contributions, etc).
  
  I am unsure why this happened, I was doing an update of a plugin and maybe something went wrong. I think I maybe had a DBError at some point, but then it completed. I must say that for once I was doing the extension upgrade without giving to much attention... lately there are never problems.
  
  If you have clues on how to resolve (let me know what other info you need) thanks.
  
  The strange thing is that when I activate debugging in CiviCRM the problem disappears and the contact dashboard works again!
  
  Again does someone have any clues?
  
  **Tags:** drupal-7
  
  > **Comments:**
  > **username_1**: Check in the web server log for the error (e.g. apache, nginx).  
  > **username_0**: When I load /civicrm/contact/view?reset=1&cid=1 I don't see any errors in the apache2 logfile (with loglevel debug)  
  > **username_1**: Anything in the civi log? What about if you turn backtrace on - it's in the same place as debugging - and then look at the response tab to the 500 error in the network tab?  
  > **username_0**: Nothing shows up in the network tab of DevTools in Chrome when I activate backtrace. In the civi logfile I only have this warning:  2024-09-11 11:00:24+0200  [warning] Deprecated function CRM_Contribute_BAO_Query::whereClauseSingle, use search by receive_date. CRM_Core_Error::deprecatedFunctionWarning CRM_Contribute_BAO_Query::whereClauseSingle CRM_Contribute_BAO_Query::where CRM_Core_Component::alterQuery Array (     [civi.tag] => deprecated )  
  > **username_0**: At the end, I restored the backup of the Civicrm DB from the previous day. Aftar restoring the DB, CiviCRM asked to update the DB for one extension (CiviRules 3.12) and this time I cheked the screen while he was doing it. The errors are gone and did not come back with the update.  
  
  ---
  
  ## 0 answers
  
  