Error: Drupal\advanced_cors\EventSubscriber\AdvancedCorsEventSubscriber::onResponse() must be an instance of Symfony\Component\HttpKernel\Event\ResponseEvent, instance of Symfony\Component\HttpKernel\Event\FilterResponseEvent given in

Created on 6 March 2024, 10 months ago
Updated 7 March 2024, 10 months ago

Problem/Motivation

Getting Error while enable this mode with Drupal 8.9

Steps to reproduce

1 Install Advanced CORS Module.
2 Enable the module .
3 Attempting to access the site will result in an error. Drupal\advanced_cors\EventSubscriber\AdvancedCorsEventSubscriber::onResponse() must be an instance of Symfony\Component\HttpKernel\Event\ResponseEvent, instance of Symfony\Component\HttpKernel\Event\FilterResponseEvent given in

Proposed resolution

It should be the instance of "FilterResponseEvent" class.

🐛 Bug report
Status

Needs review

Version

1.5

Component

Code

Created by

🇮🇳India pavnish

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

Comments & Activities

Production build 0.71.5 2024