A PHP 8.x deprecation error is triggered when saving an override when there is no destination set in the form.
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in src/Form/SearchOverrideForm.php on line 112
Error is in following code, $destination is NULL when no destination in the query.
$destination = \Drupal::request()->query->get('destination');
if (strpos($destination, 'ajax_form=1')) {
$is_ajax = TRUE;
}
Replace the line to get the $destination with:
$destination = \Drupal::request()->query->get('destination', '');
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.