@@ -230,10 +234,10 @@ class RenderedItem extends ProcessorPluginBase {
];
$this->logException($e,'%type while trying to render item %item_id with view mode %view_mode for search index %index: @message in %function (line %line of %file).',$variables);
}
}
// Restore the original user.
$this->getAccountSwitcher()->switchBack();
}
// Restore the original theme if themes got switched before.