Unknown Error trying to click on versions history in a document library

Issue:

====

If you receive "Unknown Error" when trying to view version history or set an alert on the item in the document library I did. And you try viewing the "View Properties" of the item in the document library it would redirect you to the main site’s home page.

Workaround:

==========

1. Open the "broken" DispForm.aspx for the Document Library named "documents" in Sharepoint Desinger.

2. Open a different Document Library's "working" DispForm.aspx

3. Copy the OOB List Form web part from the "working" DispForm.aspx (different library) to the "non-working" one.

4. Save the page and hit F12 to preview in browser.

5. Copy the ListID value from the Custom List Form on the broken DispForm.aspx and replaced it with the OOB List Form's "List Name" attribute; example: {GUID}

6. Save the page again and go to the Document Library and selected "View Properties"; it will direct to the DispForm.aspx page as expected.

7. The issue is resovled.

Cause:

=====

Accidental removal of the the OOB List Form web part, never remove the OOB List Form web part instead modify the Web Part Properties to "hide" and "close" the web part.