Hello,
I've just installed the module and encountered an error when accessing the configuration page at /admin/config/evac:
ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/manager_proiecte/public_html/web/modules/contrib/evac/src/Form/ConfigForm.php on line 47 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 43 of /var/www/manager_proiecte/public_html/web/core/lib/Drupal/Core/Form/ConfigFormBase.php).
I'm using Drupal 11.0.4 and php 8.3.11.
Thanks!
Issue fork evac-3474344
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:
- gge-1.0.5-patch-e9a2
changes, plain diff MR !8
- 3474344-argumentcounterror-too-few
compare
Comments
Comment #3
gge commentedFor me the error is gone by adding
use Drupal\Core\Config\TypedConfigManagerInterface;to theusestatements and changing the constructor from:to
Comment #4
andreasderijckeHad fix already in dev branch, just didn't come around to release it. Will use this to do it now.
Comment #7
andreasderijckeComment #8
andreasderijckeVoila, released. Thank you for the nudge.
Comment #9
gge commentedThank you!