[Solved] nodebb-plugin-42 - error: Object #<Object> has no method 'prepare'

  • This happens after you install nodebb-plugin-42 in admin menu , restart server and connect again.

    error: Object #<Object> has no method 'prepare'
    TypeError: Object #<Object> has no method 'prepare'
        at /Users/user/Code/Projects/forum/node_modules/nodebb-plugin-42/library.js:128:25
        at fs.js:266:14
        at Object.oncomplete (fs.js:107:15)
    info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    info: [app] Database connection closed.
    info: [app] Shutdown complete.
    [ruby-2.0.0-p451] git:master 

  • This plugin hasn't worked for a while, most of the things this plugin added have been added as part of nodebb already. What specifically were you trying to do with this plugin?

  • @a_5mith was trying to customize footer with this. Latest nodebb allows it to do that with plugin as well.

  • @marcos you can change the footer from ACP>theme>widgets. There's a footer section there, just need to change the HTML block from the copyright to whatever you need.

  • @a_5mith yes found it , thanks !

Suggested Topics

| | |

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