Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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)
Comment | File | Size | Author |
---|---|---|---|
#2 | add_container_factory_plugin_interface-3224326-2.patch | 3.78 KB | fmfpereira |
| |||
cacheflush_ui_error_output.txt | 7.28 KB | Adrianm6254 |
Comments
Comment #2
fmfpereira CreditAttribution: fmfpereira at Dropsolid commentedAll Action plugins on the cacheflush_ui submodule (with the exception of the DeleteCacheflush) are missing the ContainerFactoryPluginInterface declaration.
Comment #3
vuilComment #6
vuil