Copied to clipboard

Flag this post as spam?

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


  • bh 444 posts 1544 karma points
    Jul 31, 2024 @ 20:18
    bh
    0

    Fatal Server Error v14.1.1

    Happens when I add a new node or try to open any previously created node I get this red alert notification.

    Factory returned model of type Umbraco.Cms.Web.Common.PublishedModels.Home which does not implement IPublishedContent. A fatal server error occurred. If this continues, please reach out to your administrator.

  • bh 444 posts 1544 karma points
    Aug 01, 2024 @ 14:26
    bh
    0

    Today same site...different error when clicking on any node in the Content tree...

    invalid item type A fatal server error occurred. If this continues, please reach out to your administrator.

  • girish 15 posts 88 karma points
    Aug 02, 2024 @ 06:53
    girish
    0

    To troubleshoot the "invalid item type" error when clicking on any node in the Content tree in Umbraco, follow these steps:

    1. Check Content Types:

      • Go to Settings > Document Types.
      • Ensure all document types are correctly defined.
    2. Clear Cache:

      • Delete contents of /App_Data/TEMP.
      • Restart the application or IIS.
    3. Examine Logs:

      • Check logs in /App_Data/Logs for more details on the error.
    4. Rebuild Models:

      • Go to Settings > ModelsBuilder.
      • Click Generate Models.
      • Recycle the application pool in IIS.
    5. Database Check:

      • Run SQL queries to check for orphaned nodes or document types.

    ```sql -- Check for orphaned content nodes SELECT * FROM umbracoNode WHERE nodeObjectType = 'c66ba18e-eaf3-4cff-8a22-41b16d66a972' AND id NOT IN (SELECT nodeId FROM cmsContent);

    -- Check for orphaned document types SELECT * FROM cmsContentType WHERE nodeId NOT IN (SELECT id FROM umbracoNode); ```

    These steps mabe can help to identify and resolve the issue.

  • bh 444 posts 1544 karma points
    Aug 02, 2024 @ 17:18
    bh
    101

    Thanks @girish. I followed those steps and that didn't solve it for me. But, you got me pointed in the right direction. I believe my "Home" docType somehow got corrupted. So I:

    1. Created a new "HomeToo" docType, and moved all my content under that.
    2. Deleted my original/corrupt "Home" docType
    3. Cleared all the caches in the backoffice.
    4. Regenerated the models.
    5. Restarted IIS
    6. Recreated my "Home" DocType and moved all the content under the new "Home" docType.

    That seems to have solved it.

Please Sign in or register to post replies

Write your reply to:

Draft