Giter Site home page Giter Site logo

Comments (3)

mmccook avatar mmccook commented on May 2, 2024

I'm having the same issue, can reproduce on a blank install, as well as after multiple posts were made.

This is the error I'm getting
NodeBB/node_modules/redis/index.js:535
throw err;
^
Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (http.js:644:11)
at ServerResponse.res.setHeader (NodeBB/node_modules/connect/lib/patch.js:59:22)
at ServerResponse.res.set.res.header (NodeBB/node_modules/express/lib/response.js:518:10)
at ServerResponse.res.send (NodeBB/node_modules/express/lib/response.js:124:10)
at NodeBB/src/routes/admin.js:61:11
at Categories.getCategoryById.RDB.smembers.RDB.multi.get.smembers.exec.async.parallel.categoryData.topics (NodeBB/src/categories.js:58:8)
at Categories.getCategoryById.RDB.smembers.RDB.multi.get.smembers.exec.categoryData.moderator_block_class (NodeBB/src/categories.js:47:8)
at Categories.getModerators (NodeBB/src/categories.js:220:34)
at try_callback (NodeBB/node_modules/redis/index.js:532:9)
at RedisClient.return_reply (NodeBB/node_modules/redis/index.js:614:13)

from nodebb.

julianlam avatar julianlam commented on May 2, 2024

Hi babagegeii/mmccook,

The topics tab in the admin panel wasn't updated when the dependent libraries that it calls to populate it (either categories or topics) were refactored. It will be one of the next things I work on. Thanks for bringing it to my attention. Will link the branch to this issue when I begin.

from nodebb.

julianlam avatar julianlam commented on May 2, 2024

Latest commit 32eba62 resolves this issue.

from nodebb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.