I was trying to solve a problem by deleting a 404 Error page in DNN (Recycle Bin was also cleaned) so that I can create a completely new page.
When I try to go back to Site Settings > Site Behavior > Default Pages, it fails to load and gives a wrong Internet Connection message which is caused by DNN not finding the default 404 Error page anymore.
UPDATE
I did try to RUN the following to set the 404 Error Page to a default value, but it still seems broken.
Update [dbo].[PortalLocalization] set Custom404TabID = NULL
I get the following error in the Console when trying to load Default Pages. It says the portal ID is undefined, but I checked and it is defined in PortalLocalization.
HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
(XHR)GET - https://www.ourwebsite.co.za/API/PersonaBar/SiteSettings/GetDefaultPagesSettings?portalId=undefined&cultureCode=en-US