If you are seeing [object Promise] in your output it could be due to a missing await or returning a promise instead of the html string. You didn't post the surrounding function this code is in or which plugin hook it is using so can't really tell what is causing it.
Invalid Category ID - Cannot create category or Post
-
Greetings,
I deployed NodeBB a few years back, took a break from non-social media, and have now come back, on the cusp of my deleting Facebook. Note that I am a senior web dev (php / MySQL) of 20+ years, so I am not a beginner web user. However, Node.js and Mongo are not my forte.
We've installed the latest version of NodeBB on forum.monsoon.city on an Ubuntu VPS. I no longer handle development - this was handled by a friend system admin, who doesn't support NodeBB.
For the most part, everything is working, but I've run into a few major issues that I can't seem to find. There is a problem with Categories and perhaps the db table.
-
I cannot create a new Category. It is staying maxxed at 4. See screenshot - I create the category, press Submit - but nothing ever happens. It doesn't create categories anywhere
-
I cannot create a post in an Category. When I submit the post, I receive the error: "Invalid Category ID" - see screenshot
thoughts / suggestions?
-
-
It sounds like your database is corrupted. I recommend reinstalling nodebb from scratch.
Suggested Topics
-
Wow Style tags in posts
Unsolved Technical Support
-
-
-
-