Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bo Jacobsen 610 posts 2409 karma points
    Nov 18, 2021 @ 13:54
    Bo Jacobsen
    0

    SEOChecker: Error selecting documentname for redirect

    Hi.

    We are using Umbraco 8.17.1 and SeoChecker 2.11.1 on Umbraco Cloud and we are getting this error every minut (more or less)

    Message:
    SEOChecker: SEOChecker: Error selecting documentname for redirect
    
    
    Exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at SEOChecker.Core.Umbraco.DocumentWrappers.UmbracoDocumentBase..(DocumentProperty )
       at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
       at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
       at SEOChecker.Core.Umbraco.DocumentWrappers.UmbracoDocumentBase.GetPropertyValue[T](String propertyAlias, Boolean recursive, String culture, String segment)
       at SEOChecker.Core.Umbraco.DocumentWrappers.UmbracoDocument..ctor(IContent doc, IContextInfo info, String culture, String segment)
       at SEOChecker.Core.Repository.Umbraco.UmbracoDocumentRepository.Single(Int32 id, IContextInfo context, String culture, String segment)
       at SEOChecker.DataTypes.Model.RedirectModel.()
    

    We got a document type with alias redirect, but that one is not using SeoChecker at all, so i guess its a bug?

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Nov 18, 2021 @ 14:42
    Richard Soeteman
    0

    Hi Bo,

    That model should only be used when you use the redirect datatype on a document. No errors in the redirect datatype itself?

    Best,

    Richard

  • Bo Jacobsen 610 posts 2409 karma points
    Nov 19, 2021 @ 08:58
    Bo Jacobsen
    0

    Hi Richard.

    Will that say, the redirect is nothing to do with our document type "redirect", but some redirects that cannot find the documentname?

    So the error could come from these at /umbraco/#/seochecker/seochecker/redirectmanager/manage

    enter image description here

  • Bo Jacobsen 610 posts 2409 karma points
    Dec 02, 2021 @ 08:48
    Bo Jacobsen
    0

    Hi Richard.

    I tried to delete all of those redirects that looked weird.

    But we still get the error. Like 1000 errors a day.

  • Andreas Kristensen 77 posts 301 karma points c-trib
    Jan 25, 2022 @ 07:08
    Andreas Kristensen
    0

    I am having the exact same issue. The site is slowed to a halt, as loads of these identical looking errors are throw each second even (Today: 45 errors in one second). Running SEO Checker 2.10.1, Umbraco 8.13.1 and running on Umbraco Cloud.

  • Bo Jacobsen 610 posts 2409 karma points
    Mar 30, 2022 @ 11:22
    Bo Jacobsen
    0

    Hi Richard.

    Any update on this issue?

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Mar 30, 2022 @ 11:29
    Richard Soeteman
    0

    No sorry, can't reproduce it myself :-(

  • Bo Jacobsen 610 posts 2409 karma points
    Mar 31, 2022 @ 09:57
    Bo Jacobsen
    0

    Hi Richard.

    Is there anything we could do to make it easyer to pinpoint the exact error?

    It states that it cannot find documentname for redirect. I guess the documentname would come from an IContent or IPublishedContent?

    When would the system need to make a SEOChecker.DataTypes.Model.RedirectModel. Is that when a user is trying to access a redirect or is it running on somekind of backgroundtask?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies