Created on 16 February 2021, about 4 years ago
Updated 7 May 2025, 6 days ago

Problem/Motivation

Observed the following error logs via Sumo Logic notifications:
TypeError: Argument 1 passed to Drupal\conditional_404_pages\EventSubscriber\ConditionalPageExceptionHtmlSubscriber::on404() must be an instance of Symfony\Component\HttpKernel\Event\ExceptionEvent, instance of Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent given, called in /mnt/www/html/docroot/core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php on line 109 in /mnt/www/html/docroot/modules/contrib/conditional_404_pages/src/EventSubscriber/ConditionalPageExceptionHtmlSubscriber.php on line 65 #0 /mnt/www/html/docroot/core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php(109): Drupal\conditional_404_pages\EventSubscriber\ConditionalPageExceptionHtmlSubscriber->on404(Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent))

Steps to reproduce

  • Go to a non existing where conditional 404 page is installed and enabled
  • Observe temp unavailable error

Proposed resolution

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States baker.wynaker

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024