Error installing nodebb-widget-ns-stats
-
@Nicolas In this case... you're calling getUsersData, and that just makes a call to MongoDB passing in the uids. If you pass in invalid uids (that is, perhaps they don't exist or were deleted, as you say), then it will return null.
Best to filter as advised. In @rspk's case, he's running a forum with migrated data.
-
@rspk should be resolved
Users restore: null object 路 Issue #2 路 NicolasSiver/nodebb-widget-ns-stats
NodeBB's module User.getUserData can produce null objects. Plugin should filter them. Issue is related to user deletion.
GitHub (github.com)
Copyright 漏 2024 NodeBB | Contributors