A view.search_group configuration file causes a WSOD

Created on 24 August 2023, over 1 year ago
Updated 29 August 2023, over 1 year ago

Problem/Motivation

After updating from 11.9.10 to 11.9.1 then updating the database social_search 11403 hook_update_n - Revert search_api_language filter name/id change. the site delivers a WSOD page for a logged in user.

Displayed error is Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "view" for route "entity.view.edit_form" must match "[^/]++" ("" given) to generate a corresponding URL. in Drupal\
and
Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 201 of /home/besseges/social

Steps to reproduce

Proposed resolution

In accordance with https://www.drupal.org/project/drupal/issues/3274521 💬 Views UI - Parameter "view" for route "entity.view.edit_form" must match "[^/]++ Closed: works as designed and after an export of the configuration, I realize that a views.view.search_group configuration is created which contains this :

display :
   default:
     display_options:
       filters:
         search_api_language:
           id: search_api_language

Deleting the "views.view.search_group" configuration file seems to fix the problem

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

11.9

Component

Other

Created by

🇫🇷France ohmdesbois

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024