+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Sitefinity 5.4 Shared Content Object error

Sitefinity 5.4 Shared Content Object error

5 posts, 0 answered
  1. Rob
    Rob avatar
    1 posts
    Registered:
    12 Mar 2013
    20 Jun 2013
    Link to this post
    Hi,

    Please view the attached image. I am getting a strange error any time I attempt to access shared content from a content block inside a page. Any ideas?
  2. Pavel Benov
    Pavel Benov avatar
    341 posts
    Registered:
    14 Mar 2016
    25 Jun 2013
    Link to this post
    Hello Rob,

    Please inspect you database for any orphaned content item records in the sf_content_items table. We have had previous cases where a missing master version of an item might cause this issue. If you find any such records you can remove them through the API.  

    I hope this helps.

    Regards,
    Pavel Benov
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. rleisinger
    rleisinger avatar
    2 posts
    Registered:
    20 Jan 2011
    24 Apr 2014 in reply to Pavel Benov
    Link to this post

    I am also getting this error. How do you check for orphaned content items records? What constitutes an orphan in the sf_content_items table? A sample Sql statement would be much appreciated? How do you remove them through the API?

  4. Pavel Benov
    Pavel Benov avatar
    341 posts
    Registered:
    14 Mar 2016
    07 May 2014
    Link to this post
    Hello Tom,

    By orphaned items I refer to items that have only Live version in the database for example. Check out the sf_content_items table in your database and you will see there are 2 versions of each item you have created. One is the Master and the other is the Live version of this item. The error is present when the Master version of some item is not present in the database.

    In order to delete the orphaned item with our API please refer to this Documentation article:

    http://www.sitefinity.com/documentation/documentationarticles/delete-a-content-block-with-the-native-api

    It your specific case you need to pass the ID of the orphaned item in order to retrieve it and then delete it. You can get it from the database.

    Regards,
    Pavel Benov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  5. rleisinger
    rleisinger avatar
    2 posts
    Registered:
    20 Jan 2011
    08 May 2014 in reply to Pavel Benov
    Link to this post
    I did not have any orphans. Thanks anyway.
5 posts, 0 answered