Problem/Motivation

TypeError: Drupal\ui_icons\Plugin\IconPackManager::__construct(): Argument #5 ($keyValueFactory) must be of type Drupal\Core\KeyValueStore\KeyValueFactoryInterface, string given, called in /project/app/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 in /project/app/modules/contrib/ui_icons/src/Plugin/IconPackManager.php on line 86 #0 /project/app/core/lib/Drupal/Component/DependencyInjection/Container.php(261): Drupal\ui_icons\Plugin\IconPackManager->__construct(Object(Drupal\Core\Extension\ModuleHandler), Object(Drupal\Core\Extension\ThemeHandler), Object(Drupal\Core\Cache\ChainedFastBackend), Object(Drupal\ui_icons\Plugin\IconExtractorPluginManager), '/project/app')

Steps to reproduce

Proposed resolution

I removed the $keyValueFactory argument because it is currently not used in the service.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork ui_icons-3477003

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

grimreaper created an issue. See original summary.

grimreaper’s picture

Issue tags: +Barcelona2024
mogtofu33’s picture

Assigned: Unassigned » mogtofu33
Status: Active » Needs work

Thanks for the report.

Seems there is a wrong cleanup on unused service, but sill it's declared in *.services.yml so a cache clear is enough to fix, will remove service.

  • mogtofu33 committed 4525b211 on 1.0.x
    Issue #3477003 by grimreaper, mogtofu33: Fatal error on 1.0.0-beta1
    
mogtofu33’s picture

Assigned: mogtofu33 » Unassigned
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.