Hello and thanks for the version 2,
Problem/Motivation
I've just updated my core to Drupal 11.2.0-beta1 and I've started getting this error message below:
Fatal error: Declaration of Drupal\cookies\Plugin\Block\CookiesDocsBlock::submitConfigurationForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state) must be compatible with Drupal\Core\Block\BlockBase::submitConfigurationForm(array &$form, Drupal\Core\Form\FormStateInterface $form_state): void in /var/www/html/web/modules/contrib/cookies/src/Plugin/Block/CookiesDocsBlock.php on line 158
Steps to reproduce
When I uninstall the module via drush, the error disappears. After re-install, it pops up.
What should we do?
Best,
Orkut
Issue fork cookies-3526709
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
Comment #2
orkutmuratyilmazI've updated my Drupal core to 11.2.0-rc2 today, but the problem doesn't disappear.
Comment #3
orkutmuratyilmazAlso, problem still exists with cookies 2.0.0-alpha3 (and 2.x-dev) too.
Comment #5
jfeltkampAdded a fix for that in 2.x.
Install version >=2.0-alpha4 when it appears on the module page.
Comment #6
jfeltkampPlease check if that works for you and set to "Reviewed and tested by the community" when you are done.
Would be really great if you could test the module in your use case and if you were documenting the issues you found.
Comment #7
orkutmuratyilmaz@jfeltkamp, thanks for the patch. I works well:)
Comment #8
jfeltkampThank you @orkut murat yılmaz. Set to fixed.
Comment #9
jfeltkamp