Problem/Motivation
Fatal error: Declaration of Drupal\control_admin_access\CaaMiddleware::handle(Symfony\Component\HttpFoundation\Request $request, $type = self::MAIN_REQUEST, $catch = true) must be compatible with Symfony\Component\HttpKernel\HttpKernelInterface::handle(Symfony\Component\HttpFoundation\Request $request, int $type = self::MAIN_REQUEST, bool $catch = true): Symfony\Component\HttpFoundation\Response in /home/dev/drupal10-boilerplate/web/modules/contrib/control_admin_access/src/CaaMiddleware.php on line
57
Steps to reproduce
Fresh clean install of Drupal 10
Proposed resolution
1. Check CaaMiddleware.php file
2. Add the types of input variables of handle function
Issue fork control_admin_access-3408517
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
Borja Castellano Vinaixa commentedComment #5
gmoraleb commentedHello,
I have created a PR with the solution.
Please, check it if it works in your environment asap and merge it :)
Thanks.
Comment #6
gmoraleb commentedComment #10
pgrandeg commentedFixed on 1.3 release.