I am running Umbraco 11.4.0 after a recent upgrade from 7 and have upgraded to the latest SEO Checker as well. Now I get a null ref exception in my prod site when trying to display Umbraco Forms (11.2.0)
I also get an exception when trying to open the SEO top menu in backoffice.
System.NullReferenceException, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e: Object reference not set to an instance of an object.
at SEOChecker.Common.Trees.SEOCheckerTreeController.GetMenuForNode(String id, FormCollection queryStrings)
at Umbraco.Cms.Web.BackOffice.Trees.TreeControllerBase.GetMenuForNodeAsync(String id, FormCollection queryStrings)
at Umbraco.Cms.Web.BackOffice.Trees.TreeControllerBase.GetMenu(String id, FormCollection queryStrings)
at lambda_method24535(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Thanks, I think I managed to find it. In my stage env the forms seem to work now! But the menu exception seems to still exist (less important to us right now though). I will check to see if this helps even in prod.
Could be that other config is missing as well. Upgrade from .Net Framework to .Net core was a god point for some other refactoring. Check log files maybe?
Null ref exception in SEO Checker 11.0.4
I am running Umbraco 11.4.0 after a recent upgrade from 7 and have upgraded to the latest SEO Checker as well. Now I get a null ref exception in my prod site when trying to display Umbraco Forms (11.2.0)
This is my stacktrace:
I also get an exception when trying to open the SEO top menu in backoffice.
Any ideas? Thanks, Josef
Hi,
Try saving the datatype config of the seochecker daattype.
Best,
Richard
Thank you for your very quick response!
How do I do that?
Awesome!
It works like a charm now!
Still get the exception in the tree menu but that is less panic right now.
Thank you so much!
On the datatype Save the settings?
Thanks, I think I managed to find it. In my stage env the forms seem to work now! But the menu exception seems to still exist (less important to us right now though). I will check to see if this helps even in prod.
Could be that other config is missing as well. Upgrade from .Net Framework to .Net core was a god point for some other refactoring. Check log files maybe?
I can see very many of these in the logs. Do you think it may be related?
is working on a reply...