meta module for saving posts

  • Community Rep

    var updateInterval = meta.config[constants.namespace + ':options:autoUpdate']
    ReferenceError: meta is not defined

    is this still the right way to call settings? I tried putting this in my plugin and it stopped working. I also uninstalled and reinstalled the markdown plugin but there's no option to get to it in the ACP.

    I just upgraded NodeBB at ~11:30 today, saw some weird behavior with the upgrade (I had to go in and remove all the references to installed plugins in the redis DB, it was crashing before that), and there are some undefined warnings:

    warn: [plugins/undefined] staticDir is deprecated, use staticDirs instead
    info: [plugins] Hook registered: filter:widgets.getAreas will call undefined
  • NodeBB Admin

    There was a bug that was causing the meta object to be global. You will have to require it in your plugin.

  • Community Rep

    makes sense, thanks!

  • GNU/Linux Admin

    The undefined issue, we're looking into it... I'm thinking it has something to do with widget-essentials 🙂

Suggested Topics

| | |

© 2014 – 2022 NodeBB, Inc. — Made in Canada.