We managed to resolve this.
We switched off the student's forum view preference (where they choose nested replies, flat list etc.) via theme customisations.
This caused the error in this line in the first.js "define('mod_forum/inpage_reply', ["jquery","core/templates","core/notification","mod_forum/repository","mod_forum/selectors"]" since it was expecting this to be present.
We switched off the student's forum view preference (where they choose nested replies, flat list etc.) via theme customisations.
This caused the error in this line in the first.js "define('mod_forum/inpage_reply', ["jquery","core/templates","core/notification","mod_forum/repository","mod_forum/selectors"]" since it was expecting this to be present.