Body: <p>I get this error when searching for any email address in advanced search or search builder.</p>
  
  <p><a href="https://pastebin.com/6LRJDyt1" rel="nofollow noreferrer">https://pastebin.com/6LRJDyt1</a></p>
  
  <p>The 1-address alias is not defined, so it fails. In advanced search it does not let me select the location type for the email. However, in search builder it does and it still fails. I tested this on the demo <a href="https://wpmaster.demo.civicrm.org/" rel="nofollow noreferrer">https://wpmaster.demo.civicrm.org/</a> and email search works there. I have disabled all civi extensions and it still fails.</p>
  
  <p>WP 5.2.1 and Civi 5.13.4 multisite. Anyone else seeing this?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-09T23:38:04.830Z
Comments.Text: Can you try if this pr works for you https://github.com/civicrm/civicrm-core/pull/13399/files
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-10T00:25:38.163Z
Comments.Text: I actually came upon that earlier and tried that patch but it gives a WP error saying, 'The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.'
Comments.UserDisplayName: Andy Burns
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-10T16:13:17.887Z
Comments.Text: did you ever solved this?
Comments.UserDisplayName: Dave T
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-10T17:54:29.673Z
Comments.Text: @DaveT, partially https://lab.civicrm.org/dev/core/-/issues/1128
Comments.UserDisplayName: Andy Burns
Tags: <search><search-builder><advanced-search>
Title: email search failure
ThreadText: # email search failure
  
  (Asked by: username_0 on 2019-06-09)
  
  I get this error when searching for any email address in advanced search or search builder.
  
  <https://pastebin.com/6LRJDyt1>
  
  The 1-address alias is not defined, so it fails. In advanced search it does not let me select the location type for the email. However, in search builder it does and it still fails. I tested this on the demo <https://wpmaster.demo.civicrm.org/> and email search works there. I have disabled all civi extensions and it still fails.
  
  WP 5.2.1 and Civi 5.13.4 multisite. Anyone else seeing this?
  
  **Tags:** search, search-builder, advanced-search
  
  > **Comments:**
  > **username_1**: Can you try if this pr works for you https://github.com/civicrm/civicrm-core/pull/13399/files  
  > **username_0**: I actually came upon that earlier and tried that patch but it gives a WP error saying, 'The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.'  
  > **username_2**: did you ever solved this?  
  > **username_0**: @DaveT, partially https://lab.civicrm.org/dev/core/-/issues/1128  
  
  ---
  
  ## 0 answers
  
  