When adding or editing a page in a SharePoint Pages library we get the following exception:
[COMException (0x81020016): Item does not exist The page you selected contains an item that does not exist. It may have been deleted by another user. Click "Home" at the top of the page to return to your Web site.] at Microsoft.SharePoint.Library.SPrequestInternalClass.RenderColumn.
The weird thing is, when we first do "Check in" and then click the Publish button it works perfectly. But clicking "Publish" directly generates theis error, BUT NOT ALWAYS!
The Pages library has publishing and item planning on, NO workflow (seeing as the person who adds / edit pages is also the approver) and Major/ Minor versions. We use a content type derived from publishing page and a custom PageLayout.