Sitecore Presentation Details throwing Error ! [Fix]

Getting Exception while editing the Presentation details of Sitecore item?

[ArgumentNullException: Value cannot be null. Parameter name: value]
 Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName) +111
 Sitecore.Web.WebUtil.SafeEncode(String value) +123
DeviceEditorForm.RenderRenderings(DeviceDefinition deviceDefinition, Int32 selectedIndex, Int32 index) +1821
 Sitecore.Shell.Applications.Layouts.DeviceEditor.DeviceEditorForm.Refresh() +621
 Sitecore.Shell.Applications.Layouts.DeviceEditor.DeviceEditorForm.OnLoad(EventArgs e) +723

Well the error details can be very misleading as in my case the error was due to missing placeholder value for one of the renderings in the presentation details.


  • Go to the View tab and enable the Standard fields and Raw values.


  • Now scroll to the Layout section and copy the raw values of the Renderings field to a text editor like notepad++. (this can be either be done for the content item or at the template level)
  • Verify that all the r tags should have a ph value. If ph attribute is missing for any element then add the correct value or just an empty ph attribute.


  • Copy the modified xml and paste it back to the Layout >> Renderings field and Save the item.


  • Go to the template of the item and see if the Presentation details for the template can be edited.
  • If Yes, directly check the PlaceHolder value for all the renderings\controls and add the value for missing placeholder. That will fix the issue for all the items using this template.

Thanks for Checking out!

Please share, like and comment.

All comments.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  1. Abhimanyu

    Visitor Rating: 4 Stars