js error: Cannot read properties of null (reading time)

Created on 4 May 2023, about 1 year ago
Updated 12 January 2024, 6 months ago

Problem/Motivation

This is a similar issues to the one in Drupal 7 - Ajax callback error
On my project I have an event subscriber that is attaching new commands to response and because of it the code callback(response[1].settings.time) is getting the error "Cannot read properties of null (reading time)" as settings.time is found on response[2].settings.time

Proposed resolution

Iterate response and use the correct index for settings.time

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇴Romania aalin

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024