I have a couchapp that displays a graph of my solar hot water system data. It has been working fine on Safari/Chrome/Firefox on Mac/iOS/Android for about 8 years. After updating Safari on my Mac to 11.1, I get the error "This page was reloaded because a problem occurred" and when Retry is clicked, "A problem repeatedly occurred with [the site]". The problem also occurs with Safari on iOS 11.3 (but not before). Oddly, when I open the developer console and reload, the page displays fine and no errors are registered.
I filed a bug with Apple about a month ago but have not received any answer. (39437438).
What could be causing this?
UPDATE: I notice that some static content is briefly displayed before the crash, so it's possible that the error occurs when data is fetched with the jQuery 1.8.1 getJSON call. The code is:
var url = '_view/byDate?group_level=' + group_level.toFixed(0);
url += '&startkey=' + makeKey(start_date);
if (date) {
url += '&endkey=' + makeKey(end);
}
data_query = $.getJSON(url);