Cannot read property 'meta' of undefined
-
Anyone know what this error means?
error: TypeError: Cannot read property 'meta' of undefined
at C:\Apps\nodebb\src\user\auth.js:80:16
at Array.map (native)
at C:\Apps\nodebb\src\user\auth.js:79:25
at fn (C:\Apps\nodebb\node_modules\async\lib\async.js:746:34)
at C:\Apps\nodebb\node_modules\async\lib\async.js:1212:16
at C:\Apps\nodebb\node_modules\async\lib\async.js:166:37
at C:\Apps\nodebb\node_modules\async\lib\async.js:706:43
at C:\Apps\nodebb\node_modules\async\lib\async.js:167:37
at C:\Apps\nodebb\node_modules\async\lib\async.js:1208:30
at C:\Apps\nodebb\node_modules\async\lib\async.js:52:16It took down my forum today.
Thanks,
-
Has already been fixed: gh#4058
It looks like you need to update your NodeBB.
-
I guess it's a race condition with the database requests, so I don't think it can be avoided.
until the next release comes out
Since you don't seem to use any stable branch (the mentioned code didn't exist within
0.9.x
), I assume you're onmaster
. I don't see any problem with updating to the latest commit ofmaster
then -
Yes, i accidentally updated to master a while back The forum is live so i didn't want to update to latest master again until a final version came out in case it introduced more bugs.
Thanks
-
I upgraded my test server to the latest master and this issue went away (I found out that it was occurring on my live server when i clicked the settings button under my user profile).
Dont think I will update my live server yet though since i keep seeing this error on the latest master:
verbose: [translator] No resource file found for en_US/markdown, using provided fallback language file
It also crashed a few times randomly with this error:
error: Error: read ECONNRESET at exports._errnoException (util.js:874:11) at TLSWrap.onread (net.js:544:26) Error: read ECONNRESET at exports._errnoException (util.js:874:11) at TLSWrap.onread (net.js:544:26)
-
@whitts said:
verbose: [translator] No resource file found for en_US/markdown, using provided fallback language file
That's ok, there's no en_US language file for Markdown, so it falls back to the default, which is
en_GB
. No problems thereIt's a
verbose
log message, which means it's really just informational. -
@julian These errors were showing on my dev server which i start with nodebb dev... Only reason i start it like that is because nodebb start doesnt work on my dev server (never has) - it works fine on my live server . I only use this server for testing plugins and testing updates prior to doing it on the live. (its a carbon copy of my live server so the nodebb start not working must be some other setup issue).