Fatal error: /home/dev/drupal10-boilerplate/web/modules/contrib/control_admin_access/src/CaaMiddleware.php

Created on 13 December 2023, 7 months ago

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

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain Borja Castellano Vinaixa Zaragoza

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024