Created on 13 May 2025, 25 days ago

I have a multisite that is running 3.0.0-beta2. It is configured to exclude articles from indexing, and that works running Drupal 10.4.7. And I'm sure that if I didn't want to do anything else, it would continue to work just fine.

However, I'm in the process of trying to convert to composer, and in doing that, I'm trying to remove the module and have encountered all the route and other problems people are having with the module.

I really don't care whether it is a module problem or a core search problem at this point. I've had too many WSOD's due to the module and am frankly tired of reinstalling the database and file structure to get working again.

For the sake of everyone using the module, please provide a sequence of steps that can be used to remove the module without ending up with a WSOD as the result - preferably without needing any drush commands, as again, that causes issues if you don't have composer already working. And please be sure whatever is going on is fixed in the next beta, which I hope will be released quickly.

Thank you.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States william haller

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

Comments & Activities

  • Issue created by @william haller
  • πŸ‡ΊπŸ‡ΈUnited States william haller
  • πŸ‡ΊπŸ‡ΈUnited States william haller

    An update.

    It appears that the route error
    Got error 'PHP message: Uncaught PHP Exception Symfony\\Component\\Routing\\Exception\\RouteNotFoundException: "Route "search.view_content_exclude_" does not exist." at /<root>/drupal/core/lib/Drupal/Core/Routing/RouteProvider.php line 211
    is related to the narrow search block. I'm not sure if this is a block common to Drupal 10 or if it has propagated up from antiquity. At any rate, configuring the block and saving it with no changes gets rid of the exclude info in the config table and prevents at least that white screen of death.

    I did carefully clear all caching, PHP/DB caching several times, along with removing all other contributed modules. I also had to restore Content/node search and set it as the default along the way, and reindex the site completely. However it was still giving a WSOD on the native theme after all that. The fact that it didn't on Claro led me to look at the defined blocks on the standard theme's layout, which led to the above change. Some of these efforts perhaps cleared the missing plugin search_exclude_node_search.

    Hope this helps with the next beta.

Production build 0.71.5 2024