Topic badges plugin causing NodeBB crash



  • Hi Guys,

    I am currently testing the NodeBB v0.7.0 on my local environment - Windows 7.

    I installed plugin 'topic badges' and it causing the NodeBB apps to crash immediately.

    Here is the log during start up :

    [13/6 15:41 [3168] - warn: [meta.scripts.get] Could not resolve mapped path: plug
    ins\nodebb-plugin-topic-badges\lib\main.js. Are you sure it is defined by a plug
    in?
    info: Imgbed: regex recalculated: (?<paren>[(]\s*)?(?<url>https?://[^\s]+.(jpg
    |jpeg|gif|gifv|png|svg))
    13/6 15:41 [3168] - info: [plugins/spam-be-gone] Settings loaded
    13/6 15:41 [3168] - info: NodeBB Ready
    13/6 15:41 [3168] - info: NodeBB is now listening on: 0.0.0.0:4567]

    When i tried to post a topic with badges, nodebb immediately stopped with below error :

    13/6 15:42 [3168] - error: TypeError: undefined is not a function
    at Object.TopicBadges.addThreadTools [as method] (C:\GitHub\nodebb\node_modu
    les\nodebb-plugin-topic-badges\library.js:29:15)
    at C:\GitHub\nodebb\src\plugins\hooks.js:89:12
    at C:\GitHub\nodebb\node_modules\async\lib\async.js:269:13
    at iterate (C:\GitHub\nodebb\node_modules\async\lib\async.js:146:13)
    at Object.async.eachSeries (C:\GitHub\nodebb\node_modules\async\lib\async.js
    :162:9)
    at Object.async.reduce (C:\GitHub\nodebb\node_modules\async\lib\async.js:268
    :15)
    at fireFilterHook (C:\GitHub\nodebb\src\plugins\hooks.js:81:9)
    at Plugins.fireHook (C:\GitHub\nodebb\src\plugins\hooks.js:62:5)
    at Object.threadTools (C:\GitHub\nodebb\node_modules\async\lib\async.js:653:
    23)
    at C:\GitHub\nodebb\node_modules\async\lib\async.js:580:25

    Does this plugin compatible with nodebb 0.7.x ?

    Thank you.



  • Hey, Ive got the same issue. We should inform plugin author of this.
    For now I disabled it. Waiting impatiently for an answer.


  • Community Rep

    @psychobunny I think this one's yours



  • @BDHarrington7 said:

    @psychobunny I think this one's yours

    same problem here





  • i noticed this too, been trying to use this with 0.7


Log in to reply
 

Suggested Topics

  • 7
  • 7
  • 10
  • 1
  • 1
| |