/home/xxxxxx/teamlog/node_modules/mongoose/lib/utils.js:413
throw err;
^
TypeError: Object has no method 'split'
at Promise.<anonymous> (/home/xxxxxx/teamlog/routes/blog.js:129:22)
at Promise.<anonymous> (/home/xxxxxx/teamlog/node_modules/mongoose/node_modules/mpromise/lib/promise.js:177:8)
at Promise.EventEmitter.emit (events.js:98:17)
at Promise.emit (/home/xxxxxx/teamlog/node_modules/mongoose/node_modules/mpromise/lib/promise.js:84:38)
at Promise.fulfill (/home/xxxxxx/teamlog/node_modules/mongoose/node_modules/mpromise/lib/promise.js:97:20)
at handleSave (/home/xxxxxx/teamlog/node_modules/mongoose/lib/model.js:133:13)
at /home/xxxxxx/teamlog/node_modules/mongoose/lib/utils.js:408:16
at /home/xxxxxx/teamlog/node_modules/mongoose/node_modules/mongodb/lib/mongodb/collection/core.js:244:7
at /home/xxxxxx/teamlog/node_modules/mongoose/node_modules/mongodb/lib/mongodb/collection/core.js:624:7
at Server.Base._callHandler (/home/xxxxxx/teamlog/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/base.js:445:41)