- Issue created by @mlncn
- π«π·France erwangel
I think this is a dependency declaration or a dependency issue. I had the same problem while trying to install fancy_file_delete module which has a dependency to views_bulk_operations. Facets module had been installed and enabled just before. I didn't explore further as I did'nt have timefor this and fancy_file_delete is not essential for what I'm doing, so I gave it up without installing the module.
$ composer require 'drupal/fancy_file_delete:^2.0' ./composer.json has been updated Running composer update drupal/fancy_file_delete Loading composer repositories with package information Updating dependencies Lock file operations: 2 installs, 0 updates, 0 removals - Locking drupal/fancy_file_delete (2.0.9) - Locking drupal/views_bulk_operations (4.2.5) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 2 installs, 0 updates, 0 removals - Installing drupal/views_bulk_operations (4.2.5): Extracting archive - Installing drupal/fancy_file_delete (2.0.9): Extracting archive Generating autoload files 48 packages you are using are looking for funding. Use the `composer fund` command to find out more! No security vulnerability advisories found. $ drush en fancy_file_delete The following module(s) will be enabled: fancy_file_delete, views_bulk_operations Do you want to continue? (yes/no) [yes]: > yes [error] Error: Class "Drupal\search_api\Entity\Index" not found in facets_views_data_alter() (line 393 of /home/athan/domains/aktigram.com/public_html/aktigram/igr_10/web/modules/contrib/facets/facets.module) #0 /home/athan/domains/aktigram.com/public_html/aktigram/igr_10/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(545): facets_views_data_alter() #1 /home/athan/domains/aktigram.com/public_html/aktigram/igr_10/web/core/modules/views/src/ViewsData.php(245): Drupal\Core\Extension\ModuleHandler->alter() #2 /home/athan/domains/aktigram.com/public_html/aktigram/igr_10/web/core/modules/views/src/ViewsData.php(154): Drupal\views\ViewsData->getData() ... etc
- π«π·France erwangel
In complement of my previous comment, I could not install any other module (at least feeds which was the next in my list) without having the same problem while enabling the module. I had to uninstall "facets" then I could enable the other modules without the errors above.
- Status changed to Needs review
10 months ago 9:57am 20 February 2024 - last update
10 months ago Patch Failed to Apply - ππΊHungary gdeni Budapest
I am attaching a hotfix for version 3.0.0-beta1.
Version 3.0.x-dev no longer includes the problematic hook, and seearch_api has been added to the dependencies. See the commit here.
- Status changed to Closed: won't fix
10 months ago 2:50pm 9 March 2024 - π§πͺBelgium borisson_ Mechelen, π§πͺ
Closing as won't fix, since it's already been fixed in the module itself. We have a hard dependency on Search API now.