In Drupal 9, we are seeing the below error.

Declaration of Drupal\webform\EventSubscriber\WebformExceptionHtmlSubscriber::onException(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event) should be compatible with Drupal\Core\EventSubscriber\HttpExceptionSubscriberBase::onException(Symfony\Component\HttpKernel\Event\ExceptionEvent $event)

@see #3113876: The "Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent::getException()" method is deprecated since Symfony 4.4, use "getThrowable()" instead

CommentFileSizeAuthor
#2 3133255-2.patch12.88 KBjrockowitz
3085557-4.patch4.18 KBjrockowitz

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new12.88 KB
jrockowitz’s picture

Title: [Webform 8.x-6.x] WebformExceptionHtmlSubscriber::onException should be compatible with HttpExceptionSubscriberBase::onException » [Webform 8.x-5.x & 8.x-6.x] WebformExceptionHtmlSubscriber::onException should be compatible with HttpExceptionSubscriberBase::onException
Issue summary: View changes

  • jrockowitz authored 4acabb4 on 8.x-5.x
    Issue #3133255 by jrockowitz: [Webform 8.x-5.x...
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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