It really looks like DiscoTOC is also responsible here, as it this very line which raises the error
I18n.translations[I18n.currentLocale()].js.composer.contains_dtoc = I18n.t(themePrefix("topic_will_contain_a_table_of_contents"));
However, I don’t quite get it because I believed to have it deactivated from the list of plugins in containers/app.yml.