As described in other questions, the tabs "notes" and "relationships" have disappeared from my contact summary page after they have been updated to be based on SearchKit. However I seem to have a more fundamental problem with SearchKit itself (so I cannot apply the usual fix to the problem): when I navigate to Search > SearchKit, the only thing I get is an error message:
CRM_Core_Exception: Entity not loaded: SearchSegment in /somepath/wp-content/plugins/civicrm/civicrm/Civi/Api4/Service/Spec/SpecGatherer.php on line 91
Does anyone know how to fix this?
System:
- CiviCRM 5.69.3
- Wordpress 6.4.2
- PHP 8.1
- Ubuntu 22.04.3
civicrm_search_segment
table?civicrm_search_segment
is actually missing. Running the extension db updates via the admin site or by usingcv ext:db-upgrade-db
did not bring it back though. Is there any other way? Or do I have to recreate the table manually using the table definition insearch_kit/xml/schema/CRM/Search/SearchSegment.xml
?UPDATE civicrm_extension SET schema_version = 1006 WHERE name = 'SearchKit';
Then runcv ext:upgrade-db
.cv ext:upgrade-db
did not recreate the tablecivicrm_search_segment
.wp-content/plugins/civicrm
and reinstalled the civicrm files from scratch. However I kept the database and the folderwp-content/uploads/civicrm
unchanged. After logging into CiviCRM and updating the database everything seems to be running well, including the relationship and notes tabs.