I tried modifying the
PeoplesearchResults.aspx page layout and from then on any pages created from this page layout displays the error
"The base type 'Microsoft.Office.Server.Search.Internal.UI.SearchResultsLayoutPage' is not allowed for this page. The type could not be found or it is not registered as safe. "
Even removing the changes from the Page layout or restoring the page layout to its initial version is not helping.
I am using SharePoint Online / Office 365. Any help or suggestion is greatly appreciated.