Copied to clipboard

Flag this post as spam?

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


  • Robert Foster 459 posts 1820 karma points MVP 2x admin c-trib
    Jul 23, 2023 @ 18:54
    Robert Foster
    0

    Parameter 'notification-mail.cshtml does not match any available view' in logs (Umbraco 10, SEO Checker 10.0.4)

    We installed SEO Checker and enabled notifications, and now we're getting a lot of error messages in the logs:

    Error in PageNotFound Module SEOChecker.Web.Controllers.Validation.SEOCheckerScheduleApiController.Run (SEOChecker.Web) /umbraco/seochecker/seocheckerscheduleapi/run

    System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'notification-mail.cshtml does not match any available view')) ---> System.ArgumentNullException: Value cannot be null. (Parameter 'notification-mail.cshtml does not match any available view') at SEOChecker.Common.Services.RazorViewRenderService.RenderToStringAsync(String viewName, Object model, IDictionary2 httpcontextItems) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at SEOChecker.Common.Mail.RazorMailer.Send(BaseRazorMailModel model, EmailConfiguration config, String toAddress, String toName) at SEOChecker.Common.Repository.NotificationsRepository.NotificationRepository.ExecuteScheduledItems() at SEOChecker.Web.Controllers.Validation.SEOCheckerScheduleApiController.Run()

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Jul 24, 2023 @ 06:19
    Richard Soeteman
    0

    Hi Robert,

    Try re-selecting the notification mail template on emailsettings should help I think?

    Best,

    Richard

  • Robert Foster 459 posts 1820 karma points MVP 2x admin c-trib
    Jul 24, 2023 @ 06:36
    Robert Foster
    0

    Hi Richard,

    There was only one option, and it was already selected. This is a new install.

    Anything else you can suggest?

    Edit: When I looked at the files in the project, I couldn't find the email templates at all - where should they be installed to?

    Ta, Rob

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Jul 24, 2023 @ 06:37
    Richard Soeteman
    0

    There should be 2? Re-save maybe?

  • Robert Foster 459 posts 1820 karma points MVP 2x admin c-trib
    Jul 24, 2023 @ 06:42
    Robert Foster
    0

    Ah yes, sorry - quite right. I've modified, then changed them back saving each time.

    Error is still being reported - every ~ 60 seconds.

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Jul 24, 2023 @ 06:49
    Richard Soeteman
    100

    Oops you are right, already fixed in https://www.nuget.org/packages/SEOChecker/10.0.5-beta1 release will follow after holiday.

    Best,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft