Website encountered error when enabling module in Drupal 10

Created on 31 January 2024, 10 months ago
Updated 16 May 2024, 6 months ago

Problem/Motivation

Website encountered error when enabling module in Drupal 10.1.7

TypeError: Drupal\chat_ai\EventSubscriber\ChatAiSubscriber::onKernelRequest(): Argument #1 ($event) must be of type Symfony\Component\HttpKernel\Event\GetResponseEvent, Symfony\Component\HttpKernel\Event\RequestEvent given in Drupal\chat_ai\EventSubscriber\ChatAiSubscriber->onKernelRequest

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India omkar_yewale Mumbai

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

Comments & Activities

  • Issue created by @omkar_yewale
  • Issue was unassigned.
  • Status changed to Needs review 10 months ago
  • 🇮🇳India omkar_yewale Mumbai

    Please review this patch.

  • 🇮🇳India Sandeep_k New Delhi

    Hi @omkar_yewale, I've Tested Patch-3418305-2.patch on Drupal version- 10.1.9-dev. I was able to reproduce this error & the patch was applied successfully and looks good to me.

    Testing Steps:

    • Set up Drupal 10.1.9.
    • Download/Enable the Chat AI module> Visit the home page, you can see this error (shared before result)
    • Download the shared patch & apply.
    • Revisit the site & Verify this.

    Testing Results:
    After applying the patch, the shared error is fixed now. RTBC++

  • Status changed to RTBC 10 months ago
  • 🇧🇪Belgium Belba

    Path #2 worked, as I had the same error.

Production build 0.71.5 2024