WP Discourse version 2.2.5 fixes the issue: WP Discourse โ WordPress plugin | WordPress.org. Itโs available in the WordPress repo now.
Edit: The issue was caused by the pluginโs auto-load files not getting pushed to the WordPress repo. Angus has found a good workaround for the problem. Iโve tested the latest version on my own WordPress site and it loads without errors.