Uncaught Exception: Cannot call method 'replace' of undefined
-
when I installed in my local vagrant, I got the error.
error: [app] Encountered Uncaught Exception: Cannot call method 'replace' of undefined
TypeError: Cannot call method 'replace' of undefined
at /vagrant/NodeBB/src/webserver.js:151:31
at Array.map (native)
at /vagrant/NodeBB/src/webserver.js:150:77
at Object.Plugins.fireHook (/vagrant/NodeBB/src/plugins.js:339:5)
at Function.app.build_header (/vagrant/NodeBB/src/webserver.js:103:11)
at async.waterfall.topic_url (/vagrant/NodeBB/src/webserver.js:639:10)
at fn (/vagrant/NodeBB/node_modules/async/lib/async.js:582:34)
at Object._onImmediate (/vagrant/NodeBB/node_modules/async/lib/async.js:498:34)
at processImmediate [as _immediateCallback] (timers.js:330:15)
info: [app] Restarting...
info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
info: [app] Database connection closed.
info: [app] Goodbye!
info: NodeBB v0.3.2 Copyright (C) 2013 DesignCreatePlay Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.
info:
info: Time: Thu Feb 27 2014 05:17:55 GMT+0000 (UTC)
info: Initializing NodeBB v0.3.2
info: * using configuration stored in: /vagrant/NodeBB/config.json
info: * using redis store at 127.0.0.1:6379
info: * using themes stored in: /vagrant/NodeBB/node_modules
warn: [plugins/nodebb-widget-essentials] staticDir is deprecated, use staticDirs instead
warn: [plugins/nodebb-widget-essentials] staticDir is deprecated, define CSS files with new staticDirs instead.
warn: [plugins/nodebb-theme-lavender] staticDir is deprecated, use staticDirs instead
info: NodeBB attempting to listen on: 0.0.0.0:8080
info: NodeBB Ready
-