Symfony > 4.4 uses getThrowable

Created on 24 January 2023, over 1 year ago
Updated 23 March 2023, over 1 year ago

The following fatal error is logged for any access denied page:

Error: Call to undefined method Symfony\Component\HttpKernel\Event\ExceptionEvent::getException() in Drupal\perimeter\EventSubscriber\PerimeterSubscriber->handleBannedUrls() (line 46 of /var/www/html/public_html/modules/contrib/perimeter/src/EventSubscriber/PerimeterSubscriber.php)

It appears that Symfony has refactored thing so that it's getThrowable instead of getException.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom siliconmeadow

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

Comments & Activities

Production build 0.69.0 2024