Hello everyone!
I have a single-server on-premise installation of SharePoint 2013 and I noticed that you can change the way fonts, colors etc. are used on a site collection by selecting "Change the look" from the site settings. However when I browse the page I
get an empty page with the spinner on the right just going in circles.
The browser log displays an error from _layouts/15/designgallery.js with this message:
SyntaxError: JSON.parse: unexpected character
The file is minified so unfortunately it does not tell me much more. However I also noticed a call to the webservice at /_layouts/15/designdata.ashx?hashcode=-1638098219&lcid=1033. Although this call returned a http 200 response the page turned out to
be the "Sorry, something went wrong"-page with a correlation id as well. Looking up the correlation id in the trace log I found this unexpected error
Application error when access /_layouts/15/designdata.ashx, Error=Object reference not set to an instance of an object.
at Microsoft.SharePoint.Utilities.ThemeFontFace.Create(XPathNavigator xpnFontNode, XmlNamespaceManager nsm)
at Microsoft.SharePoint.Utilities.ThemeFont.Populate()
at Microsoft.SharePoint.Utilities.SPFont.Initialize(Stream stream)
at Microsoft.SharePoint.Utilities.SPFont.Open(SPFile file, Boolean readPublishedVersion)
at Microsoft.SharePoint.Utilities.SPFont.GetFontSchemesFromFolder(SPWeb themesWeb, String folderUrl)
at Microsoft.SharePoint.Utilities.SPFont.GetFontSchemesFromFolder(SPSite site, String strThemeFolder)
at Microsoft.SharePoint.ApplicationPages.DesignDataDownloadHandler.GenerateFontSchemeData()
at Microsoft.SharePoint.ApplicationPages.DesignDataDownloadHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Has anyone encountered this error before or knows what the issue might be? I suspect that this error prevents me from changing the look of the site collection.