Answers.Body: <p>Relationships and Notes tab are using FormBuilder in the most recent versions.  My guess is that by updating from a version that old, it didn't enable them for whatever reason.  Try going to <strong>Administer menu » System Settings » Extensions</strong> and enable &quot;Form Core&quot; and &quot;SearchKit&quot;.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-25T15:44:44.137Z
Answers.Text: Also - I recommend *not* installing Contact Layout Editor when you have an issue like this.  Pradeep's question was to determine whether it might be at fault, but it adds a complicating factor
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-25T22:46:42.483Z
Answers.Text: Thanks Jon...I'm sure you're right.  Sadly, too late tho, since I gave up and went back to 5.50.1 while I still could.  Today, I upgraded to 5.58.1 and that seems to be working.  QUESTION:  Is "Form Core" the same as "Afform: Core Runtime"?
Answers.UserDisplayName: jimcrist
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-26T16:35:41.063Z
Answers.Text: Today, I upgraded to 5.65.2 and everything seems to be working. So, I guess the lesson is, don't wait too long between upgrades...do one every time there's a Security Release.
Answers.UserDisplayName: jimcrist
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-25T15:44:06.680Z
Answers.LastActivityDate: 2024-03-25T15:44:06.680Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>Since the one big upgrade didn't work, I had to do two smaller upgrades.  That worked, so I guess the lesson is, don't wait too long between upgrades...do one every time there's a Security Release</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-26T16:37:23.063Z
Answers.LastActivityDate: 2024-03-26T16:37:23.063Z
Answers.UserDisplayName: jimcrist
Answers.Body: <p>Try running this:</p>
  <pre><code>cv ev 'CRM_Contact_BAO_RelationshipCache::rebuild();' 
  </code></pre>
  <p>for the Relationships issue.</p>
  <p>If you run into <code>PHP Deprecation</code> errors, then trying downgrading your PHP version to 8.0.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-22T16:51:52.983Z
Answers.Text: Tabs still aren't there. We ran the command and no output was displayed except for multiple PHP errors and notices:
  … /home/wiuta/www/www/vendor/bin/cv ev 'CRM_Contact_BAO_RelationshipCache::rebuild();'
  [PHP Deprecation] Creation of dynamic property Smarty_Internal_Extension_Handler::$loadFilter is deprecated at /home/wiuta/www/www/wp-content/plugins/civicrm/civicrm/packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:182
  [PHP Deprecation] Creation of dynamic property Smarty_Internal_Extension_Handler::$loadPlugin is deprecated at...
Answers.UserDisplayName: jimcrist
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-22T14:53:15.377Z
Answers.LastActivityDate: 2024-03-23T18:10:53.337Z
Answers.LastEditDate: 2024-03-23T18:10:53.337Z
Answers.UserDisplayName: Hershel
Body: <p>I recently upgraded to Civi 5.70.2 from 5.50.1. PHP 8.2. Wordpress. I thought I finally had everything working but today I see the Relationships and Notes tabs are missing when viewing a Contact, similar to:
  <a href="https://civicrm.stackexchange.com/questions/45996/relationships-not-being-displayed">Relationships not being displayed</a> and
  <a href="https://civicrm.stackexchange.com/questions/46314/view-contact-no-relationship-tab-and-note-tab">view contact no relationship tab and note tab?</a>
  I have the SearchKit installed. Oddly, it showed up on the Search Menu twice, but I was able to fix that with the Navigation Menu.  I have the Packaged Searches for Relationships and Notes:</p>
  <p><a href="https://i.sstatic.net/R3KhC.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/R3KhC.png" alt="enter image description here" /></a></p>
  <p>I have tried running those searches, to no avail. Here's what a sample Contact looks like:
  <a href="https://i.sstatic.net/k5O5k.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/k5O5k.png" alt="enter image description here" /></a></p>
  <p>Please advise...thanks!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-21T17:43:58.540Z
Comments.Text: Are you using contact layour editor?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-21T18:50:01.043Z
Comments.Text: have you double checked that the Display settings are set to show them, at eg https://dmaster.demo.civicrm.org/civicrm/admin/setting/preferences/display?reset=1
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-21T19:40:50.230Z
Comments.Text: Yes, regarding the Display Preferences, I tried unchecking them and saving, then rechecking them and saving...no joy...
  Regarding the contact layout editor, I don't know what that is, so no.  The notes and relationships were working fine before the upgrade.
Comments.UserDisplayName: jimcrist
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-21T20:05:30.987Z
Comments.Text: Not sure if this is relevant, but this got added to the ConfigAndLog during the upgrade: 2024-03-18 15:52:31-0500  [info] Running task: Add "civicrm_note" to "note_used_for" option group
Comments.UserDisplayName: jimcrist
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-22T14:09:01.383Z
Comments.Text: I tried adding the Contact Layout Editor Extension, but I can't see Notes and Relationships there either.  Please help!
Comments.UserDisplayName: jimcrist
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-22T20:07:40.870Z
Comments.Text: are you still able to create Relationships?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-23T02:17:24.033Z
Comments.Text: The relationship tables and the notes tables are still there and seem fine, when viewed with phpMyAdmin.  The user interface is gone, so it would be hard to create a new one, but I'm sure you could do it with SQL.  I can use the Packaged Searches for Relationships and Notes to produce reports of them.  The only components being used are CiviMail and CiviReport, but I've tried adding all the components and I've tried removing and readding all the tabs in Display Preferences.
Comments.UserDisplayName: jimcrist
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-23T12:50:21.470Z
Comments.Text: It seems like I need to give up on this version, and try either an newer version or older version.  I can still restore the 5.50.1 version, but I need to do that either today or tomorrow.  How did this bug get introduced?  What's my best bet for a working version?
Comments.UserDisplayName: jimcrist
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-23T16:30:39.007Z
Comments.Text: I was able to import and run the Relationship search, as suggested here: https://civicrm.stackexchange.com/questions/45996/relationships-not-being-displayed  It didn't restore the Tab for Relationships on the View Contact screen.
Comments.UserDisplayName: jimcrist
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-23T16:38:49.853Z
Comments.Text: I tried upgrading to 5.71.1, but it the Notes tab and Relationship Tabs still don't show up.  Weirdly, there's one new greyed out Tab:  "Official Info". I'm so frustrated...
Comments.UserDisplayName: jimcrist
Tags: <wordpress><relationships><notes>
Title: Relationships and Notes tabs are missing when viewing a Contact
ThreadText: # Relationships and Notes tabs are missing when viewing a Contact
  
  (Asked by: username_0 on 2024-03-21)
  
  I recently upgraded to Civi 5.70.2 from 5.50.1. PHP 8.2. Wordpress. I thought I finally had everything working but today I see the Relationships and Notes tabs are missing when viewing a Contact, similar to:
  [Relationships not being displayed](https://civicrm.stackexchange.com/questions/45996/relationships-not-being-displayed) and
  [view contact no relationship tab and note tab?](https://civicrm.stackexchange.com/questions/46314/view-contact-no-relationship-tab-and-note-tab)
  I have the SearchKit installed. Oddly, it showed up on the Search Menu twice, but I was able to fix that with the Navigation Menu. I have the Packaged Searches for Relationships and Notes:
  
  [![enter image description here](https://i.sstatic.net/R3KhC.png)](https://i.sstatic.net/R3KhC.png)
  
  I have tried running those searches, to no avail. Here's what a sample Contact looks like:
  [![enter image description here](https://i.sstatic.net/k5O5k.png)](https://i.sstatic.net/k5O5k.png)
  
  Please advise...thanks!
  
  **Tags:** wordpress, relationships, notes
  
  > **Comments:**
  > **username_1**: Are you using contact layour editor?  
  > **username_2**: have you double checked that the Display settings are set to show them, at eg https://dmaster.demo.civicrm.org/civicrm/admin/setting/preferences/display?reset=1  
  > **username_0**: Yes, regarding the Display Preferences, I tried unchecking them and saving, then rechecking them and saving...no joy... Regarding the contact layout editor, I don't know what that is, so no.  The notes and relationships were working fine before the upgrade.  
  > **username_0**: Not sure if this is relevant, but this got added to the ConfigAndLog during the upgrade: 2024-03-18 15:52:31-0500  [info] Running task: Add "civicrm_note" to "note_used_for" option group  
  > **username_0**: I tried adding the Contact Layout Editor Extension, but I can't see Notes and Relationships there either.  Please help!  
  > **username_2**: are you still able to create Relationships?  
  > **username_0**: The relationship tables and the notes tables are still there and seem fine, when viewed with phpMyAdmin.  The user interface is gone, so it would be hard to create a new one, but I'm sure you could do it with SQL.  I can use the Packaged Searches for Relationships and Notes to produce reports of them.  The only components being used are CiviMail and CiviReport, but I've tried adding all the components and I've tried removing and readding all the tabs in Display Preferences.  
  > **username_0**: It seems like I need to give up on this version, and try either an newer version or older version.  I can still restore the 5.50.1 version, but I need to do that either today or tomorrow.  How did this bug get introduced?  What's my best bet for a working version?  
  > **username_0**: I was able to import and run the Relationship search, as suggested here: https://civicrm.stackexchange.com/questions/45996/relationships-not-being-displayed  It didn't restore the Tab for Relationships on the View Contact screen.  
  > **username_0**: I tried upgrading to 5.71.1, but it the Notes tab and Relationship Tabs still don't show up.  Weirdly, there's one new greyed out Tab:  "Official Info". I'm so frustrated...  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_3 on 2024-03-25. Score: 2
  
  Relationships and Notes tab are using FormBuilder in the most recent versions. My guess is that by updating from a version that old, it didn't enable them for whatever reason. Try going to **Administer menu » System Settings » Extensions** and enable "Form Core" and "SearchKit".
  
  > **Comments:**
  > **username_3**: Also - I recommend *not* installing Contact Layout Editor when you have an issue like this.  username_1's question was to determine whether it might be at fault, but it adds a complicating factor  
  > **username_0**: Thanks Jon...I'm sure you're right.  Sadly, too late tho, since I gave up and went back to 5.50.1 while I still could.  Today, I upgraded to 5.58.1 and that seems to be working.  QUESTION:  Is "Form Core" the same as "Afform: Core Runtime"?  
  > **username_0**: Today, I upgraded to 5.65.2 and everything seems to be working. So, I guess the lesson is, don't wait too long between upgrades...do one every time there's a Security Release.  
  
  ---
  
  ### Answer by username_0 on 2024-03-26. Score: 1
  
  Since the one big upgrade didn't work, I had to do two smaller upgrades. That worked, so I guess the lesson is, don't wait too long between upgrades...do one every time there's a Security Release
  
  
  ---
  
  ### Answer by username_4 on 2024-03-22. Score: 0
  
  Try running this:
  
  ```
  cv ev 'CRM_Contact_BAO_RelationshipCache::rebuild();' 
  
  ```
  
  for the Relationships issue.
  
  If you run into `PHP Deprecation` errors, then trying downgrading your PHP version to 8.0.
  
  > **Comments:**
  > **username_0**: Tabs still aren't there. We ran the command and no output was displayed except for multiple PHP errors and notices: … /home/wiuta/www/www/vendor/bin/cv ev 'CRM_Contact_BAO_RelationshipCache::rebuild();' [PHP Deprecation] Creation of dynamic property Smarty_Internal_Extension_Handler::$loadFilter is deprecated at /home/wiuta/www/www/wp-content/plugins/civicrm/civicrm/packages/smarty3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:182 [PHP Deprecation] Creation of dynamic property Smarty_Internal_Extension_Handler::$loadPlugin is deprecated at...  
  
  ---
  
  