Website encountered error when enabling module in Drupal 10

Created on 31 January 2024, 5 months ago
Updated 16 May 2024, about 2 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 5 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 5 months ago
  • 🇧🇪Belgium Belba

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

Production build 0.69.0 2024