PHP Fatal error: Uncaught TypeError: Argument 5 passed to Drupal\Core\Path\AliasWhitelist::__construct() must implement interface Drupal\Core\Path\AliasStorageInterface, instance of Drupal\path_alias\AliasRepository given, called in /mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Component/DependencyInjection/Container.php on line 285 and defined in /mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Core/Path/AliasWhitelist.php:43
Stack trace:
#0 /mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Component/DependencyInjection/Container.php(285): Drupal\Core\Path\AliasWhitelist->__construct('path_alias_whit...', Object(Drupal\Core\Cache\DatabaseBackend), Object(Drupal\Core\ProxyClass\Lock\DatabaseLockBackend), Object(Drupal\Core\State\State), Object(Drupal\path_alias\AliasRepository))
#1 /mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Component/DependencyInjection/Container.php(173): Drupal\Component\DependencyInjection\Container->createService(Array, 'p in /mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Core/Path/AliasWhitelist.php on line 43

Fatal error: Uncaught TypeError: Argument 5 passed to Drupal\Core\Path\AliasWhitelist::__construct() must implement interface Drupal\Core\Path\AliasStorageInterface, instance of Drupal\path_alias\AliasRepository given, called in /mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Component/DependencyInjection/Container.php on line 285 and defined in /mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Core/Path/AliasWhitelist.php:43
Stack trace:
#0 /mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Component/DependencyInjection/Container.php(285): Drupal\Core\Path\AliasWhitelist->__construct('path_alias_whit...', Object(Drupal\Core\Cache\DatabaseBackend), Object(Drupal\Core\ProxyClass\Lock\DatabaseLockBackend), Object(Drupal\Core\State\State), Object(Drupal\path_alias\AliasRepository))
#1 /mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Component/DependencyInjection/Container.php(173): Drupal\Component\DependencyInjection\Container->createService(Array, 'p in /mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Core/Path/AliasWhitelist.php on line 43
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Uncaught TypeError: Argument 5 passed to
Drupal\Core\Path\AliasWhitelist::__construct() must implement
interface Drupal\Core\Path\AliasStorageInterface, instance of
Drupal\path_alias\AliasRepository given, called in
/mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Component/DependencyInjection/Container.php
on line 285 and defined in
/mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Core/Path/AliasWhitelist.php:43
Stack trace:
#0
/mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Component/DependencyInjection/Container.php(285):
Drupal\Core\Path\AliasWhitelist->__construct('path_alias_whit...',
Object(Drupal\Core\Cache\DatabaseBackend),
Object(Drupal\Core\ProxyClass\Lock\DatabaseLockBackend),
Object(Drupal\Core\State\State),
Object(Drupal\path_alias\AliasRepository))
#1
/mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Component/DependencyInjection/Container.php(173):
Drupal\Component\DependencyInjection\Container->createService(Array,
'p in
/mnt/projects/cellworks/projects/cellworks.life/dev/core/lib/Drupal/Core/Path/AliasWhitelist.php,
line 43

Comments

mukesh-kumar3 created an issue. See original summary.

avpaderno’s picture

Status: Active » Closed (outdated)
Issue tags: -Fatal Error Drupal 8, -Pathauto Error

I am closing this issue, which was open for a sandbox project that isn't related to Drupal core, despite the project name. Feel free to move the issue in the correct issue queue, if it's still relevant.