Copied to clipboard

Flag this post as spam?

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


  • k 256 posts 653 karma points
    Dec 16, 2019 @ 06:08
    k
    0

    Website going down often

    Hello,

    we are having issue we a website version 7.5.8.

    the site goes down very often. We are getting the below errors :

    System.MissingMethodException: Method 'Umbraco.Web.Models.DynamicPublishedContent.Isfirst' not found.
    

    at Umbraco.Core.Dynamics.DynamicInstanceHelper.FindAndExecuteExtensionMethod[T](IRuntimeCacheProvider runtimeCache, T thisObject, Object[] args, String name, IEnumerable1 findMethodsOnTypes) at Umbraco.Core.Dynamics.DynamicInstanceHelper.TryInvokeMember[T](IRuntimeCacheProvider runtimeCache, T thisObject, InvokeMemberBinder binder, Object[] args, IEnumerable1 findExtensionMethodsOnTypes) 2019-12-16 09:44:13,261 [P6024/D2/T110] WARN Umbraco.Web.UmbracoModule - Status code is 404 yet TrySkipIisCustomErrors is false - IIS will take over. 2019-12-16 09:44:45,074 [P6024/D2/T104] ERROR Umbraco.Core.Dynamics.DynamicInstanceHelper - An error occurred finding and executing extension method "Isfirst" for type "Umbraco.Web.Models.DynamicPublishedContent". Types searched for extension methods were Umbraco.Web.Models.DynamicPublishedContent. System.MissingMethodException: Method 'Umbraco.Web.Models.DynamicPublishedContent.Isfirst' not found. at Umbraco.Core.Dynamics.DynamicInstanceHelper.FindAndExecuteExtensionMethod[T](IRuntimeCacheProvider runtimeCache, T thisObject, Object[] args, String name, IEnumerable1 findMethodsOnTypes) at Umbraco.Core.Dynamics.DynamicInstanceHelper.TryInvokeMember[T](IRuntimeCacheProvider runtimeCache, T thisObject, InvokeMemberBinder binder, Object[] args, IEnumerable1 findExtensionMethodsOnTypes) 2019-12-16 09:44:45,074 [P6024/D2/T104] ERROR Umbraco.Core.Dynamics.DynamicInstanceHelper - An error occurred finding and executing extension method "Isfirst" for type "Umbraco.Web.Models.DynamicPublishedContent". Types searched for extension methods were Umbraco.Web.Models.DynamicPublishedContent. System.MissingMethodException: Method 'Umbraco.Web.Models.DynamicPublishedContent.Isfirst' not found. at Umbraco.Core.Dynamics.DynamicInstanceHelper.FindAndExecuteExtensionMethod[T](IRuntimeCacheProvider runtimeCache, T thisObject, Object[] args, String name, IEnumerable1 findMethodsOnTypes) at Umbraco.Core.Dynamics.DynamicInstanceHelper.TryInvokeMember[T](IRuntimeCacheProvider runtimeCache, T thisObject, InvokeMemberBinder binder, Object[] args, IEnumerable1 findExtensionMethodsOnTypes) 2019-12-16 09:44:45,074 [P6024/D2/T104] ERROR Umbraco.Core.Dynamics.DynamicInstanceHelper - An error occurred finding and executing extension method "Isfirst" for type "Umbraco.Web.Models.DynamicPublishedContent". Types searched for extension methods were Umbraco.Web.Models.DynamicPublishedContent. System.MissingMethodException: Method 'Umbraco.Web.Models.DynamicPublishedContent.Isfirst' not found. at Umbraco.Core.Dynamics.DynamicInstanceHelper.FindAndExecuteExtensionMethod[T](IRuntimeCacheProvider runtimeCache, T thisObject, Object[] args, String name, IEnumerable1 findMethodsOnTypes) at Umbraco.Core.Dynamics.DynamicInstanceHelper.TryInvokeMember[T](IRuntimeCacheProvider runtimeCache, T thisObject, InvokeMemberBinder binder, Object[] args, IEnumerable1 findExtensionMethodsOnTypes) 2019-12-16 09:44:45,074 [P6024/D2/T104] ERROR Umbraco.Core.Dynamics.DynamicInstanceHelper - An error occurred finding and executing extension method "Isfirst" for type "Umbraco.Web.Models.DynamicPublishedContent". Types searched for extension methods were Umbraco.Web.Models.DynamicPublishedContent. System.MissingMethodException: Method 'Umbraco.Web.Models.DynamicPublishedContent.Isfirst' not found. at Umbraco.Core.Dynamics.DynamicInstanceHelper.FindAndExecuteExtensionMethod[T](IRuntimeCacheProvider runtimeCache, T thisObject, Object[] args, String name, IEnumerable1 findMethodsOnTypes) at Umbraco.Core.Dynamics.DynamicInstanceHelper.TryInvokeMember[T](IRuntimeCacheProvider runtimeCache, T thisObject, InvokeMemberBinder binder, Object[] args, IEnumerable1 findExtensionMethodsOnTypes) 2019-12-16 09:44:45,074 [P6024/D2/T104] ERROR Umbraco.Core.Dynamics.DynamicInstanceHelper - An error occurred finding and executing extension method "Isfirst" for type "Umbraco.Web.Models.DynamicPublishedContent". Types searched for extension methods were Umbraco.Web.Models.DynamicPublishedContent. System.MissingMethodException: Method 'Umbraco.Web.Models.DynamicPublishedContent.Isfirst' not found. at Umbraco.Core.Dynamics.DynamicInstanceHelper.FindAndExecuteExtensionMethod[T](IRuntimeCacheProvider runtimeCache, T thisObject, Object[] args, String name, IEnumerable1 findMethodsOnTypes) at Umbraco.Core.Dynamics.DynamicInstanceHelper.TryInvokeMember[T](IRuntimeCacheProvider runtimeCache, T thisObject, InvokeMemberBinder binder, Object[] args, IEnumerable1 findExtensionMethodsOnTypes)

    Can someone please help.

    Regards,

    Kusum

  • Alex Skrypnyk 6048 posts 23129 karma points MVP 5x admin c-trib
    Dec 16, 2019 @ 12:57
    Alex Skrypnyk
    0

    Hi Kusum

    Looks like Models Builder needs to be rebuilt. Can you refresh models?

    Alex

  • ibrahim TUNC 50 posts 128 karma points
    Mar 18, 2021 @ 17:45
    ibrahim TUNC
    0

    Have you found a solution for this title? I have the same problem.

  • Alex Skrypnyk 6048 posts 23129 karma points MVP 5x admin c-trib
    Mar 19, 2021 @ 17:57
    Alex Skrypnyk
    0

    hi Ibrahim, can you check the log? what error is there?

  • ibrahim TUNC 50 posts 128 karma points
    Sep 03, 2021 @ 14:00
    ibrahim TUNC
    0

    Hi Alex. The error log is as follows.

    2021-09-03 16:53:26,797 [P19660/D2/T157] ERROR Umbraco.Core.Dynamics.DynamicInstanceHelper - An error occurred finding and executing extension method "IsDescendant" for type "Umbraco.Web.Models.DynamicPublishedContent". Types searched for extension methods were Umbraco.Web.Models.DynamicPublishedContent. System.MissingMethodException: Method 'Umbraco.Web.Models.DynamicPublishedContent.IsDescendant' not found. at Umbraco.Core.Dynamics.DynamicInstanceHelper.FindAndExecuteExtensionMethod[T](IRuntimeCacheProvider runtimeCache, T thisObject, Object[] args, String name, IEnumerable1 findMethodsOnTypes) at Umbraco.Core.Dynamics.DynamicInstanceHelper.TryInvokeMember[T](IRuntimeCacheProvider runtimeCache, T thisObject, InvokeMemberBinder binder, Object[] args, IEnumerable1 findExtensionMethodsOnTypes)

  • ibrahim TUNC 50 posts 128 karma points
    1 week ago
    ibrahim TUNC
    100

    Problem solved.

    Thanks Alex Skrypnyk.

    In Visual Studio, "IsDescendant" was searched with Edit --> Find in Files throughout the project. Changes have been made to the .cshtml documents found.

    Example:

    if (CurrentPage.IsDescendant(Umbraco.Content(6942)) || Model.Content.Id == 1294) { ..... ..... }

    Now: No errors are coming in the UmbracoTraceLog document anymore.

    Reference Link: https://our.umbraco.com/forum/using-umbraco-and-getting-started/105841-constant-log-error-for-isdescendantorself

Please Sign in or register to post replies

Write your reply to:

Draft