Hello, the project page states module version 3.0 is compatible "with drupal 8 and 9".
This may not be the case because it seems to require symfony 4.3, which might not be present with drupal 8.9 and seems to come only with drupal 9.
Thus the info on the project page might need an edit to note this.
Installing 3.0 on drupal 8.9 may throw an error about symfony receiving FilterResponseEvent instead of ResponseEvent.
The event seems to be renamed on a change in symfony 4.3.
My install of drupal 8.9 currently have symfony 3.4.
The website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\allow_iframed_site\EventSubscriber\RemoveXFrameOptionsSubscriber::RemoveXFrameOptions() must be an instance of Symfony\Component\HttpKernel\Event\ResponseEvent, instance of Symfony\Component\HttpKernel\Event\FilterResponseEvent given in Drupal\allow_iframed_site\EventSubscriber\RemoveXFrameOptionsSubscriber->RemoveXFrameOptions() (line 51 of modules/contrib/allow_iframed_site/src/EventSubscriber/RemoveXFrameOptionsSubscriber.php).
Comments
Comment #2
inforeto commentedComment #4
andyd328Thanks for the report inforeto, I got carried away with Symfony 4, this is fixed in 3.0.1