@pichalite Thank you for the response.
That was most peculiar, but I reset the config.json to be how it was and it stopped having this error.
Besides I still think it's best to check data.config, before extracting data.config.loggedin anyway.
I lost my .git file in NodeBB folder and can't upgrade NodeBB. How to return .git?
Use whichever 1.x version of NodeBB you're currently on.