Nous it seems to be an issue in @Justoverclock Purify extension. If "Add Bad Word to the Array" setting is never changed, the original value will be null
, and the javascript attempts to run .split()
on the value https://github.com/justoverclockl/flarum-ext-purify/blob/0.1.6/js/src/forum/PurifyText.js#L18
You can probably fix the issue by filling in that setting (including typing something then removing it, then saving to save an empty string) or disabling the extension if you're not actually using it.
(I have not actually tested this, this is guessed from my reading of the error and the source code of the extension)
@Justoverclock you could use (app.forum.attribute('key') || '').split()
to ensure it doesn't crash on null
value.