Error thrown

Call to a member function get_events_for_month() on null