Problem/Motivation

Error while installing the module on Drupal 8.9.11

Argument 1 passed to Drupal\bunny_cdn\EventSubscriber\CdnTagResponseHeaderSubscriber::onRespond() must be an instance of Symfony\Component\HttpKernel\Event\ResponseEvent, instance of Symfony\Component\HttpKernel\Event\FilterResponseEvent given

Steps to reproduce

Install and try to enable the module

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork bunny_cdn-3400736

Command icon 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

gebiss created an issue. See original summary.

chetan 11 made their first commit to this issue’s fork.

dieterholvoet’s picture

My bad, apparently the module is not compatible with Drupal 8. I'll remove support.

dieterholvoet’s picture

Changing to FilterResponseEvent is not an option, that class was deprectated in Drupal 9 and removed in Drupal 10.

dieterholvoet’s picture

Status: Active » Fixed
dieterholvoet’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.