Object reference not set to an instance of an object.

at MarkAllen.Peony.Components.ViewComponents.EventListComponentViewComponent.<>c__DisplayClass2_0.<GetPagedEvents>b__1(Event e) in D:\a\1\s\src\MarkAllen.Peony\Components\ViewComponents\EventListComponentViewComponent.cs:line 57 at System.Linq.Enumerable.WhereEnumerableIterator`1.GetCount(Boolean onlyIfCheap) at System.Linq.EnumerableExecutor`1.Execute() at MarkAllen.Peony.Components.ViewComponents.EventListComponentViewComponent.GetPagedEvents(IEnumerable`1 eventList, EventListComponent model, String eventSlug) at MarkAllen.Peony.Components.ViewComponents.EventListComponentViewComponent.Invoke(EventListComponent model, Int32 columnSpan) in D:\a\1\s\src\MarkAllen.Peony\Components\ViewComponents\EventListComponentViewComponent.cs:line 32 at lambda_method1585(Closure, Object, Object[]) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeSyncCore(ObjectMethodExecutor executor, Object component, ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments) at AspNetCore.Views_Partials_BlockList_Templates_Tokyo_Blocks.<ExecuteAsync>g__RenderNestedBlockAsync|0_0(BlockGridItem block, Boolean isWrapped, String itemAlias) in /home/site/wwwroot/Views/Partials/BlockList/Templates/Tokyo/Blocks.cshtml:line 95 at AspNetCore.Views_Partials_BlockList_Templates_Tokyo_Blocks.<ExecuteAsync>g__RenderNestedBlockAsync|0_0(BlockGridItem block, Boolean isWrapped, String itemAlias) in /home/site/wwwroot/Views/Partials/BlockList/Templates/Tokyo/Blocks.cshtml:line 91 at AspNetCore.Views_Partials_BlockList_Templates_Tokyo_Blocks.ExecuteAsync() in /home/site/wwwroot/Views/Partials/BlockList/Templates/Tokyo/Blocks.cshtml:line 137