• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Topic badges plugin causing NodeBB crash

Scheduled Pinned Locked Moved Unsolved NodeBB Plugins
6 Posts 6 Posters 2.5k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • gsvirG Offline
    gsvirG Offline
    gsvir
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
  • Wojciech LisikW Offline
    Wojciech LisikW Offline
    Wojciech Lisik
    wrote on last edited by
    #2

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

    1 Reply Last reply
    0
  • BriB Offline
    BriB Offline
    Bri Community Rep
    wrote on last edited by
    #3

    @psychobunny I think this one's yours

    ffmadF 1 Reply Last reply
    0
  • ffmadF Offline
    ffmadF Offline
    ffmad
    replied to Bri on last edited by
    #4

    @BDHarrington7 said:

    @psychobunny I think this one's yours

    same problem here

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #5

    I sent him a PR https://github.com/psychobunny/nodebb-plugin-topic-badges/pull/5/files

    1 Reply Last reply
    1
  • C Offline
    C Offline
    chrismccoy
    wrote on last edited by
    #6

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

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development