Answers.Body: <p>Are you able to reinstall from backup? I’m wondering if by using the API Explorer you may have accidentally changed things best left unchanged.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-24T05:15:01.770Z
Answers.Text: Hmm, not too sure. Do you know if backups are generated automatically? Would it restore a fairly recent backup? Or... are backups essentially customised by the user?
Answers.UserDisplayName: Janine
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-24T15:29:10.767Z
Answers.Text: Some service providers will make backups for you - but you would know if you had one. See Coleman’s note above -> try remember what you tried to do in the API explorer
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-24T05:00:27.060Z
Answers.LastActivityDate: 2019-01-24T05:00:27.060Z
Answers.UserDisplayName: KarinG - Semper IT
Answers.Body: <p>I don't have any experience with CiviRules specifically, but the two things that usually clear up WSOD for me (on WordPress at any rate -- what CMS are you using?) are to clear out wp-content/uploads/civicrm/templates_c, or you can also try going to Administer -> System Settings -> Cleanup Caches and Update Paths, then click the Cleanup Caches button.</p>
  
  <p>Depending on what version of everything you're on there's also the possibility that the CiviRules extension isn't compatible with your version of CiviCRM, although a quick glance at their releases seems to indicate they keep very on top of things.</p>
  
  <p>It'd also be helpful to see the log details about the 500 error if trying the things above doesn't resolve the issue.</p>
  
  <p>Hope that gives you some things to go on.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-24T04:18:29.470Z
Answers.Text: ![Pic of one of the warnings I get](https://imgur.com/a/m92MLH4).
  
  I also tried clearing the cache but it took me to the WSOD as well. The rest of the site seems to be working except for the search function and executing certain tasks like trying to delete the CiviRules extension or clearing cache.
Answers.UserDisplayName: Janine
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-24T02:26:04.763Z
Answers.LastActivityDate: 2019-01-24T02:26:04.763Z
Answers.UserDisplayName: Matt Woodward
Body: <p>CiviCRM was working fine until I downloaded an extension called CiviRules. I looked into the API for field UFMatch, clicked around in there, and pressed execute (got no warning that it was going to change anything in the database, so I just assumed that it was running a test) and it resulted in no errors supposedly. </p>
  
  <p>I also can't delete the extension, it sends me to an HTTP 500 error. Whenever I input a string search, it gives me a drop menu of contacts with matching strings but when I want to get a list of all the contacts in the database, it takes me to the WSOD!</p>
  
  <p>What can I do to try and fix this?</p>
  
  <p>Edit: it looks like any time I search for something (e.g. contributions, events, participants, contacts etc.), it takes me to the WSOD.</p>
  
  <p>Edit 2: I'm using CiviCRM 4.6.37 and Drupal 7.59. And I'm not sure if it was actually CiviRules or clicking something in the API Explorer... I downloaded CiviRules extension first before I played around with API Explorer. My reasoning for poking around API was to see if there was some way to link/unlink user IDs with CiviCRM contacts and reuse a general username/account for changing members. Hopefully that makes sense! :-/</p>
  
  <p>Edit 3: Problem is fixed. IT support at my organization’s end conquered the WSOD. Lesson learned: don’t mess with API if you don’t know what you’re doing.  ¯_(ツ)_/¯ </p>
  
  <p>Thank you all for your responses!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-24T04:17:23.487Z
Comments.Text: It's unclear from your wording whether CiviRules is the problem, or clicking something in the API (API Explorer?) caused it.  Could you please edit to say a bit more?
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-24T04:20:50.790Z
Comments.Text: Also, please add your CiviCRM version and your CMS (Drupal, WordPress, etc.)?  Thanks!
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-24T04:27:06.577Z
Comments.Text: I'm using CiviCRM 4.6.37 and Drupal 7.59. And I'm not sure if it was actually CiviRules or clicking something in the API Explorer... I downloaded CiviRules extension first, if that helps.
Comments.UserDisplayName: Janine
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-24T14:20:42.633Z
Comments.Text: What exactly did you execute in the api explorer? It looks to me like you may have altered or deleted a UFMatch record?
Comments.UserDisplayName: Coleman
Tags: <error><database><search><php><error-page>
Title: I get a WSOD when I use the search function on CiviCRM
ThreadText: # I get a WSOD when I use the search function on CiviCRM
  
  (Asked by: username_0 on 2019-01-24)
  
  CiviCRM was working fine until I downloaded an extension called CiviRules. I looked into the API for field UFMatch, clicked around in there, and pressed execute (got no warning that it was going to change anything in the database, so I just assumed that it was running a test) and it resulted in no errors supposedly.
  
  I also can't delete the extension, it sends me to an HTTP 500 error. Whenever I input a string search, it gives me a drop menu of contacts with matching strings but when I want to get a list of all the contacts in the database, it takes me to the WSOD!
  
  What can I do to try and fix this?
  
  Edit: it looks like any time I search for something (e.g. contributions, events, participants, contacts etc.), it takes me to the WSOD.
  
  Edit 2: I'm using CiviCRM 4.6.37 and Drupal 7.59. And I'm not sure if it was actually CiviRules or clicking something in the API Explorer... I downloaded CiviRules extension first before I played around with API Explorer. My reasoning for poking around API was to see if there was some way to link/unlink user IDs with CiviCRM contacts and reuse a general username/account for changing members. Hopefully that makes sense! :-/
  
  Edit 3: Problem is fixed. IT support at my organization’s end conquered the WSOD. Lesson learned: don’t mess with API if you don’t know what you’re doing. ¯\_(ツ)\_/¯
  
  Thank you all for your responses!
  
  **Tags:** error, database, search, php, error-page
  
  > **Comments:**
  > **username_1**: It's unclear from your wording whether CiviRules is the problem, or clicking something in the API (API Explorer?) caused it.  Could you please edit to say a bit more?  
  > **username_1**: Also, please add your CiviCRM version and your CMS (Drupal, WordPress, etc.)?  Thanks!  
  > **username_0**: I'm using CiviCRM 4.6.37 and Drupal 7.59. And I'm not sure if it was actually CiviRules or clicking something in the API Explorer... I downloaded CiviRules extension first, if that helps.  
  > **username_2**: What exactly did you execute in the api explorer? It looks to me like you may have altered or deleted a UFMatch record?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2019-01-24. Score: 0
  
  Are you able to reinstall from backup? I’m wondering if by using the API Explorer you may have accidentally changed things best left unchanged.
  
  > **Comments:**
  > **username_0**: Hmm, not too sure. Do you know if backups are generated automatically? Would it restore a fairly recent backup? Or... are backups essentially customised by the user?  
  > **username_3**: Some service providers will make backups for you - but you would know if you had one. See username_2’s note above -> try remember what you tried to do in the API explorer  
  
  ---
  
  ### Answer by username_4 on 2019-01-24. Score: 0
  
  I don't have any experience with CiviRules specifically, but the two things that usually clear up WSOD for me (on WordPress at any rate -- what CMS are you using?) are to clear out wp-content/uploads/civicrm/templates\_c, or you can also try going to Administer -> System Settings -> Cleanup Caches and Update Paths, then click the Cleanup Caches button.
  
  Depending on what version of everything you're on there's also the possibility that the CiviRules extension isn't compatible with your version of CiviCRM, although a quick glance at their releases seems to indicate they keep very on top of things.
  
  It'd also be helpful to see the log details about the 500 error if trying the things above doesn't resolve the issue.
  
  Hope that gives you some things to go on.
  
  > **Comments:**
  > **username_0**: ![Pic of one of the warnings I get](https://imgur.com/a/m92MLH4).  I also tried clearing the cache but it took me to the WSOD as well. The rest of the site seems to be working except for the search function and executing certain tasks like trying to delete the CiviRules extension or clearing cache.  
  
  ---
  
  