In my case Issue comes from core.entity_view_mode. file where targetEntityType is null ,deleting the mentioned file from configuration and again running the database update fixed the issue.
Iam also getting similar issue while migrated my website to Drupal 10, My views have exposed fields with multiple selections allowed. in exposed fields i have taxonomy terms. If I deactivate the ajax option, the view returns nothing and generates an error. The error in the logs is as follows:
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: Input value "type" contains a non-scalar value. in Symfony\Component\HttpKernel\HttpKernel->handle() (line 83 of /app/devs/vendor/symfony/http-kernel/HttpKernel.php).
Steps to reproduce
See attached screenshot.