You can't get the current user data without their uid. If you have access to the express req object you can grab it with req.uid or if it is a socket call then its socket.uid. The value of uid is 0 if the user is not logged in.
@misdigest If they are not compatible with your version of NodeBB then you can either downgrade NodeBB, not use the plugin or try and upgrade the plugin yourself. You could also ask the developer of the plugin if they will upgrade it for better compatibility.
Usually the errors will give you some information on what is causing the problem.
at Object.Soundcloud.init [as method] (/root/misdigestbb/misdigestbb/node_modules/nodebb-plugin-sso-soundcloud/library.js:26:66)
Suggests that the nodebb-plugin-sso-soundcloud plugin is causing one problem