What does this error mean?

General Discussion
  • 1/4 01:32:07 [1511] - error: /register/
     Error: Invalid data
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    1/4 01:35:37 [1511] - warn: [deprecated] Accessing language files from `/api/language` is deprecated. Use `/assets/language/zh_CN/language.json` for prefetch paths.
  • @sharonyue it means the was a request to the invite route without the correct parameters. It's nothing to worry about unless your user invitations are not working.

  • @PitaJ
    Thanks. I enable invitation, since I want to keep the topics to be high quality.

Suggested Topics

  • Error

    General Discussion
    0 Votes
    2 Posts

    Not sure what you mean. Dragging and dropping an image into the composer works fine for me.

  • 1 Votes
    1 Posts

    Hey everyone, so on my admin portal for my nodebb forum, there are a number of analytics, i.e. things like "page visitors" "page views" etc.

    While those are a bit more self explanatory, can someone help me out -- I'm not too sure what the other metrics mean:

    Unique visitors Users Posts Topics Active users, split into "users" and "guests"

    All of these have their metric for "day" "week" "month" and "all time" -- it seems that there's no way to check the stats for a certain day in the past, but instead it just calculates the "day" as in "last 24 hours", so it's always changing. If there's a way to extract all these stats and check the stats for a specific day, please let me know!

    Anyway so:

    For 3+4, my understanding is that a "topic" is a completely new thread while "posts" not only include topics but also comments on each thread, hence the reason the number of "posts" are usually much higher than the number of "topics".

    However, from there, the "users" and "active users (i.e. users + guests) metrics are confusing to me -- let me explain:

    On any given day, the number of users for the last "day" are like 25-30. But whenever I check the dashboard, the active users are always much higher, like 115-150.

    Furthermore, there are always a higher number of "guests" (i.e. anonymous users) then "users" (i.e. registered users) in the "active users" section, which is weird because: our forum is only restricted to our customers -- you can't access the community forum unless you actually have an account with us, which would make you a "registered" user.

    Okay -- I know this was a lot but any help is appreciated here. To wrap it up:

    What constitutes a "guest" and a "user" on nodebb? Why is the "users" metric per day always much lower than "active users"? How is the "users" metric calculated, if not based off of the "active users" per day? What's the difference between "unique visitors" and "users"? For reference, the "unique visitors" per day count we have is usually around 280-300, while once again, our "users" count is usually 25-30. To confirm: a "topic" is a completely new thread while "posts" include not only entirely new threads but also comments on new/old threads, right?

    Thank you in advance to anyone that can help with any of these. Cheers!

  • 0 Votes
    4 Posts

    v1.6.1 is the latest.

  • 0 Votes
    2 Posts

    Make sure your url value in config.json matches the url you use to access the forum.

  • 0 Votes
    18 Posts

    @Ted said:

    If you'll start NodeBB and leave it running, I'll see if I can can connect to it and register a profile

    I can't this server is not open on internet, only in local.