Copied to clipboard

Flag this post as spam?

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


  • lori ryan 239 posts 573 karma points
    Aug 23, 2018 @ 14:16
    lori ryan
    0

    Hi When I hit refresh on the main dashboard I get the following : HtmlAgilityPack.1.4.9.5 is i the bin directory

    {"Message":"An error has occurred.","ExceptionMessage":"Value cannot be null.\r\nParameter name: source","ExceptionType":"System.ArgumentNullException","StackTrace":" at System.Linq.Enumerable.Any[TSource](IEnumerable1 source)\r\n at RankOne.Analyzers.Template.MetaDescriptionAnalyzer.Analyse(IPageData pageData)\r\n at RankOne.Summaries.BaseSummary.GetAnalysis()\r\n at RankOne.Services.PageAnalysisService.SetAnalyzerResults(PageAnalysis pageAnalysis, HtmlResult html)\r\n at RankOne.Services.PageAnalysisService.CreatePageAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Services.AnalyzeService.CreateAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Helpers.PageScoreNodeHelper.UpdatePageScore(PageScoreNode node)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable1 nodeCollection, Boolean useCache)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable1 nodeCollection, Boolean useCache)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.

  • lori ryan 239 posts 573 karma points
    Aug 27, 2018 @ 13:21
    lori ryan
    0

    any suggestions on this??

  • Mark Wemekamp 73 posts 385 karma points
    Aug 27, 2018 @ 17:49
    Mark Wemekamp
    0

    Which version of RankOne is installed? I think this issue was fixed in the latest version of the package.

  • lori ryan 239 posts 573 karma points
    Aug 28, 2018 @ 07:54
    lori ryan
    0

    Hi Mark Rank one 0.3.8 and umbraco version 7.10.4.

  • Mark Wemekamp 73 posts 385 karma points
    Aug 30, 2018 @ 08:59
    Mark Wemekamp
    0

    Hi Lori,

    I fixed this bug in the latest version I believe, this version is 1.0.0-beta.

    If you don't want to upgrade you can check if the master template (or any templates with a head section) contains a meta description:

    <meta name="description" content="This is an example of a meta description. This will often show up in search results.">
    

    Hope this helps

    Kind regards,

    Mark

  • lori ryan 239 posts 573 karma points
    Sep 06, 2018 @ 08:01
    lori ryan
    0

    Hey Mark So I updated from nuget and I still get. All my pages inherit from a master template that has a meta tag description. However I do have a sitemap that doesnt is that the issue?

    {"Message":"An error has occurred.","ExceptionMessage":"Value cannot be null.\r\nParameter name: source","ExceptionType":"System.ArgumentNullException","StackTrace":" at System.Linq.Enumerable.Any[TSource](IEnumerable1 source)\r\n at RankOne.Analyzers.Template.MetaDescriptionAnalyzer.Analyse(IPageData pageData)\r\n at RankOne.Summaries.BaseSummary.GetResultFromAnalyzer(BaseAnalyzer baseAnalyzerInstance)\r\n at RankOne.Summaries.BaseSummary.GetAnalysis()\r\n at RankOne.Services.PageAnalysisService.SetAnalyzerResults(PageAnalysis pageAnalysis, HtmlResult html)\r\n at RankOne.Services.PageAnalysisService.CreatePageAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Services.AnalyzeService.CreateAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Helpers.PageScoreNodeHelper.UpdatePageScore(PageScoreNode node)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable1 nodeCollection, Boolean useCache)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable`1 nodeCollection, Boolean useCache)\r\n at RankOne.Services.DashboardDataService.GetHierarchy(Boolean useCache)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>cDisplayClass10.9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n at

  • Mark Wemekamp 73 posts 385 karma points
    Sep 06, 2018 @ 16:45
    Mark Wemekamp
    0

    Adding a meta description to the sitemap could solve it. The issue is caused because the plugin does make a wrong assumption in code. So adding a meta description to every page, could solve your problem

  • Stefan Kolbe 2 posts 72 karma points
    Jun 11, 2019 @ 03:18
    Stefan Kolbe
    0

    Hi Mark,

    I ran into this issue as well, and your suggestion of making sure each page has a meta description tag did get around this, however, I had to remove my XmlSiteMap page in order to achieve it. The sitemap view was generating xml, so I couldn't add a meta description tag. Is there a fix for this available? I'd like to be able to add my sitemap node back in.

Please Sign in or register to post replies

Write your reply to:

Draft