Hey all. I've been running Discourse for a small community for a few weeks now, and I must say, it's brilliant.
I've experienced something wierd. Every now and then, the browser page remains white. Refreshing several times doesn't help, it seems the page will remain white for a few seconds, no matter how many times you refresh. Then, all of a sudden it's all back to normal.
I've checked the error logs, and I see these kinds of errors:
1:
Info:
TypeError: undefined is not an object (evaluating 'Discourse.Dialect.addPreProcessor')
Url: https://discuss.stinkboeven.nl/assets/plugin-f4e50299ba6371f74c7807756f77190eb8dd4cab2ccbd65d1732c925d42c2b6f.js
Line: 1
Column: 20237
Window Location: https://discuss.stinkboeven.nl/
Backtrace:
https://discuss.stinkboeven.nl/assets/plugin-f4e50299ba6371f74c7807756f77190eb8dd4cab2ccbd65d1732c925d42c2b6f.js:1:20237
global code@https://discuss.stinkboeven.nl/assets/plugin-f4e50299ba6371f74c7807756f77190eb8dd4cab2ccbd65d1732c925d42c2b6f.js:1:20442
Environment:
hostname stinkboeven-app
process_id [131, 150]
application_version c42354420897fbc32ce605257d6ea4b1d0f64a9b
HTTP_HOST discuss.stinkboeven.nl
REQUEST_URI /logs/report_js_error
REQUEST_METHOD POST
HTTP_USER_AGENT Mozilla/5.0 (iPhone; CPU iPhone OS 10_2_1 like Mac OS X) AppleWebKit/602.4.6 (KHTML, like Gecko) Version/10.0 Mobile/14D27 Safari/602.1
HTTP_ACCEPT */*
HTTP_REFERER https://discuss.stinkboeven.nl/
HTTP_X_FORWARDED_FOR [x.x.x.x, unix:, x.x.x.x, unix:]
HTTP_X_REAL_IP unix:
params
message TypeError: undefined is not an object (evaluating 'Discourse.Dialect.addPreProcessor') Url: https://d
url https://discuss.stinkboeven.nl/assets/plugin-f4e50299ba6371f74c7807756f77190eb8dd4cab2ccbd65d1732c925
line 1
column 20237
window_location https://discuss.stinkboeven.nl/
stacktrace https://discuss.stinkboeven.nl/assets/plugin-f4e50299ba6371f74c7807756f77190eb8dd4cab2ccbd65d1732c925
2:
Info:
Uncaught TypeError: Cannot read property 'addPreProcessor' of undefined
Url: https://discuss.stinkboeven.nl/assets/plugin-f4e50299ba6371f74c7807756f77190eb8dd4cab2ccbd65d1732c925d42c2b6f.js
Line: 1
Column: 20237
Window Location: https://discuss.stinkboeven.nl/latest
Backtrace:
TypeError: Cannot read property 'addPreProcessor' of undefined
at https://discuss.stinkboeven.nl/assets/plugin-f4e50299ba6371f74c7807756f77190eb8dd4cab2ccbd65d1732c925d42c2b6f.js:1:20237
at https://discuss.stinkboeven.nl/assets/plugin-f4e50299ba6371f74c7807756f77190eb8dd4cab2ccbd65d1732c925d42c2b6f.js:1:20442
Environment:
hostname stinkboeven-app
process_id [131, 150]
application_version c42354420897fbc32ce605257d6ea4b1d0f64a9b
HTTP_HOST discuss.stinkboeven.nl
REQUEST_URI /logs/report_js_error
REQUEST_METHOD POST
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
HTTP_ACCEPT */*
HTTP_REFERER https://discuss.stinkboeven.nl/latest
HTTP_X_FORWARDED_FOR x.x.x.x, unix:
HTTP_X_REAL_IP unix:
params
message Uncaught TypeError: Cannot read property 'addPreProcessor' of undefined Url: https://discuss.stinkboe
url https://discuss.stinkboeven.nl/assets/plugin-f4e50299ba6371f74c7807756f77190eb8dd4cab2ccbd65d1732c925
line 1
column 20237
window_location https://discuss.stinkboeven.nl/latest
stacktrace TypeError: Cannot read property 'addPreProcessor' of undefined at https://discuss.stinkboeven.nl/
I've checked, I'm up to date, and it's been happening ever since I first set up the Discourse. I have the feeling it happens on first load for returning visitors; I can reproduce the error easier when loading the page when not logged in, but could also just be a coincidence. I had some warnings about swap when rebuilding, I have since addressed them, so that should be fine. Anything in particular I should look into? I'm kind of at a loss as to where I should begin troubleshooting
Any help is appreciated.