Open throwawaynodebbissue opened 3 years ago
Hey thanks!
Those lines are only for integration with the nodebb-rewards-essentials plugin, removing them should have no other side effects.
I'm surprised this plugin works at all though since it's so old.
Let me know if you run into any more issues and i'll try my best to fix!
Hi,
I am using NodeBB v1.16.2 and I am only using the default plugins alongside nodebb-plugin-user-invitations. If I don't have nodebb-plugin-user-invitations active users can successfully be redirected after the registration screen back to the home page while being automatically signed in after registration. If I have the plugin enabled, I run into a 502 Bad Gateway screen. The line which is causing the error is line 170 of lib/invitations.js. If I comment out that line the plugin works perfectly fine. The problem is, I don't know what I might be messing with if I remove the "checkConditionAndRewardUser" line from happening. Below is a full output of my log file and you can note that when line 170 fails it causes all of NodeBB to restart.
https://pastebin.com/2GKJF7gm