An unhandled exception occurred while processing the request.
InvalidOperationException: Could not create an instance of type 'System.Tuple`4[[YAF.Types.Models.User, YAF.Types, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null],[YAF.Types.Models.Identity.AspNetUsers, YAF.Types, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null],[YAF.Types.Models.Rank, YAF.Types, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null],[YAF.Types.Models.VAccess, YAF.Types, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Model bound complex types must not be abstract or value types and must have a parameterless constructor. Record types must have a single primary constructor. Alternatively, set the 'EditUser' property to a non-null value in the 'YAF.Pages.Admin.EditUser.UsersSuspendModel' constructor.
Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinder.CreateModel(ModelBindingContext bindingContext)
Stack Query Cookies Headers Routing
InvalidOperationException: Could not create an instance of type 'System.Tuple`4[[YAF.Types.Models.User, YAF.Types, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null],[YAF.Types.Models.Identity.AspNetUsers, YAF.Types, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null],[YAF.Types.Models.Rank, YAF.Types, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null],[YAF.Types.Models.VAccess, YAF.Types, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]'. Model bound complex types must not be abstract or value types and must have a parameterless constructor. Record types must have a single primary constructor. Alternatively, set the 'EditUser' property to a non-null value in the 'YAF.Pages.Admin.EditUser.UsersSuspendModel' constructor.
Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinder.CreateModel(ModelBindingContext bindingContext)
Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinder.BindModelCoreAsync(ModelBindingContext bindingContext, int propertyData)
Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder.BindModelAsync(ActionContext actionContext, IModelBinder modelBinder, IValueProvider valueProvider, ParameterDescriptor parameter, ModelMetadata metadata, object value, object container)
Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageBinderFactory+c__DisplayClass2_0+g__Bind|0>d.MoveNext()
Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.BindArgumentsCoreAsync()
Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync()
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
YAF.Core.Middleware.CheckBannedUserAgents.InvokeAsync(HttpContext context)
YAF.Core.Middleware.CheckBannedIps.InvokeAsync(HttpContext context)
YAF.Core.Middleware.InitializeDb.InvokeAsync(HttpContext context)
Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
YAF.Core.Middleware.AntiXssMiddleware.InvokeAsync(HttpContext context)
Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
YAF.Core.Middleware.AntiXssMiddleware.InvokeAsync(HttpContext context)
Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
I'm going to have to upgrade, aren't i?