Answers.Body: <p>Search Builder is actually a deprecated part of CiviCRM, as the preferred replacement is Search Kit.</p>
  <p>See documentation here: <a href="https://docs.civicrm.org/user/en/latest/searching/searchkit/what-is-searchkit/" rel="nofollow noreferrer">https://docs.civicrm.org/user/en/latest/searching/searchkit/what-is-searchkit/</a></p>
  <p>In general about this sort of Smarty notice: they are notices rather than errors so they are not harmful, but they are annoying and indicate that an error <em>might</em> arise when upgrading to a future version of PHP (in previous versions of PHP they were not visible at all). So the CiviCRM community <a href="https://github.com/civicrm/civicrm-core/pulls?q=is%3Apr%20smarty%20notice" rel="nofollow noreferrer">has been working hard to address them</a>. Since Search Builder is deprecated it's sort of a last priority, but you are most welcome to jump in and help out. Using any of those PRs as a guide you could create a PR to fix this particular notice if it bugs you enough .</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-18T15:54:43.147Z
Answers.Text: Thanks for the response - it helps but wouldn't know where to start with PR's - guess this is a Pull Request
Answers.UserDisplayName: Peter Turner
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-17T14:30:29.940Z
Answers.LastActivityDate: 2023-10-17T14:30:29.940Z
Answers.UserDisplayName: Coleman
Body: <p>When I run a search using Search Builder i get the error above - also occure when editing a smart group criteria.  Using Advanced search does work.</p>
  <p>The PHP is Selector.tpl.php on lines 113 &amp; 114</p>
  <p>Wordpress install Version 5.66.0      PHP 8.1   Upgraded on 14/10</p>
  
Tags: <search-builder><php8>
Title: Search Builder - Undefined array key 'contact_is_deleted
ThreadText: # Search Builder - Undefined array key 'contact_is_deleted
  
  (Asked by: username_0 on 2023-10-17)
  
  When I run a search using Search Builder i get the error above - also occure when editing a smart group criteria. Using Advanced search does work.
  
  The PHP is Selector.tpl.php on lines 113 & 114
  
  Wordpress install Version 5.66.0 PHP 8.1 Upgraded on 14/10
  
  **Tags:** search-builder, php8
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-10-17. Score: 0
  
  Search Builder is actually a deprecated part of CiviCRM, as the preferred replacement is Search Kit.
  
  See documentation here: <https://docs.civicrm.org/user/en/latest/searching/searchkit/what-is-searchkit/>
  
  In general about this sort of Smarty notice: they are notices rather than errors so they are not harmful, but they are annoying and indicate that an error *might* arise when upgrading to a future version of PHP (in previous versions of PHP they were not visible at all). So the CiviCRM community [has been working hard to address them](https://github.com/civicrm/civicrm-core/pulls?q=is%3Apr%20smarty%20notice). Since Search Builder is deprecated it's sort of a last priority, but you are most welcome to jump in and help out. Using any of those PRs as a guide you could create a PR to fix this particular notice if it bugs you enough .
  
  > **Comments:**
  > **username_0**: Thanks for the response - it helps but wouldn't know where to start with PR's - guess this is a Pull Request  
  
  ---
  
  