On a clean D8.9.16 codebase and have installed & enabled cacheflush. I then tried to enable cacheflush_ui and I get the following error:

ArgumentCountError: Too few arguments to function Drupal\cacheflush_ui\Plugin\Action\AddMenuCacheflush::__construct(), 3 passed in /app/web/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php on line 25 and exactly 4 expected in Drupal\cacheflush_ui\Plugin\Action\AddMenuCacheflush->__construct() (line 41 of /app/web/modules/contrib/cacheflush/modules/cacheflush_ui/src/Plugin/Action/AddMenuCacheflush.php)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Adrianm6254 created an issue. See original summary.

fmfpereira’s picture

Status: Active » Needs review
FileSize
3.78 KB

All Action plugins on the cacheflush_ui submodule (with the exception of the DeleteCacheflush) are missing the ContainerFactoryPluginInterface declaration.

vuil’s picture

Version: 8.x-1.0-beta4 » 8.x-1.x-dev
Priority: Normal » Major

Status: Needs review » Needs work

  • vuil committed 4fefd03 on 8.x-1.x authored by fmfpereira
    Issue #3224326 by fmfpereira, Adrianm6254, vuil: Get error when trying...
vuil’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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