D10 Regression: Error: Call to undefined method Drupal\Core\Extension\ModuleHandler::getImplementations() in libraries_info()

Created on 26 April 2023, about 1 year ago
Updated 26 October 2023, 8 months ago

I am having difficulty with the libraries module after upgrading to Drupal 10. When I upgrade on my local without a full build (just upgrading using the existing db) I get the following on some admin pages:

Error: Call to undefined method Drupal\Core\Extension\ModuleHandler::getImplementations() in libraries_info() (line 407 of modules/contrib/libraries/libraries.module).

When I run the build through ci, I get this right after libraries installs during setup-app:

[error] TypeError: Drupal\Component\DependencyInjection\ReverseContainer::generateServiceIdHash(): Argument #1 ($object) must be of type object, null given in Drupal\Component\DependencyInjection\ReverseContainer->generateServiceIdHash() (line 87 of /mnt/tmp/local.prod/source/docroot/core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php) #0 [internal function]: Drupal\Component\DependencyInjection\ReverseContainer->generateServiceIdHash()
#1 /mnt/tmp/local.prod/source/docroot/core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php(75): array_map()
etc.... truncated

When I tried blt drupal:install on my local, I got the same exact result.

💬 Support request
Status

Closed: duplicate

Version

4.0

Component

Code

Created by

🇺🇸United States loopy1492

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

Comments & Activities

Production build 0.69.0 2024