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

inforeto created an issue. See original summary.

inforeto’s picture

Issue summary: View changes

  • AndyD328 committed c4bbe85 on 3.0.x
    Issue #3150054: version 3.x not compatible with drupal 8
    
andyd328’s picture

Assigned: Unassigned » andyd328
Priority: Normal » Major
Status: Active » Fixed

Thanks for the report inforeto, I got carried away with Symfony 4, this is fixed in 3.0.1

Status: Fixed » Closed (fixed)

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