Ajax error on enrolling to an event

Created on 10 December 2024, 4 months ago

Problem/Motivation

Enrolling to the events with "Invite-only" enrollment method cause the ajax error:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /node/1475/all-enrollments?ajax_form=1
StatusText: parsererror
ResponseText: TypeError: implode(): Argument #1 ($array) must be of type array, string given in implode() (line 981 of /var/www/html/html/core/lib/Drupal/Core/Form/FormBuilder.php)."

Steps to reproduce

  • Login as admin
  • Enable social_event_invite module
  • Create a public event with "Invite-only" enroll method
  • Login as SM
  • Visit the event
  • Enroll in the event by clicking the "ENROLL" button

Proposed resolution

Fix the error

πŸ› Bug report
Status

Active

Version

13.0

Component

Code (back-end)

Created by

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

Comments & Activities

Production build 0.71.5 2024