Error: Call to a member function get() on null

Created on 3 July 2023, almost 2 years ago

Problem/Motivation

On a fresh install in Drupal 10, accessing the Time Slots tool before the event info has been populated generates a fatal error:
Error: Call to a member function get() on null in Drupal\event_platform_scheduler\Form\TimeSlotsForm->buildForm() (line 162 of /var/www/html/web/modules/contrib/event_platform/event_platform_scheduler/src/Form/TimeSlotsForm.php).

Steps to reproduce

Make the offending code null safe.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada mandclu

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

Comments & Activities

Production build 0.71.5 2024