CityWebConsultants / Iris

Modular content management and web application framework built with Node.js and MongoDB
http://irisjs.org
Other
9 stars 7 forks source link

Log shows error on restart #251

Closed pau1m closed 7 years ago

pau1m commented 8 years ago

frontend/frontend.js Cannot read property 'toLowerCase' of undefined\nError on line 393

{"name":"iris","hostname":"Pau1ms-MacBook-Pro.local","pid":4557,"level":60,"msg":"Error on line 383 of /Users/p/Documents/webs/in-house/451-wtf/node_modules/irisjs/modules/core/frontend/frontend.js Cannot read property 'toLowerCase' of undefined\nError on line 393 of /Users/p/Documents/webs/in-house/451-wtf/node_modules/irisjs/modules/core/frontend/frontend.js Cannot read property 'toLowerCase' of undefined\nError on line 573 of /Users/p/Documents/webs/in-house/451-wtf/node_modules/irisjs/modules/core/frontend/frontend.js Cannot read property 'toLowerCase' of undefined\nError on line 569 of /Users/p/Documents/webs/in-house/451-wtf/node_modules/irisjs/modules/core/frontend/frontend.js Cannot read property 'toLowerCase' of undefined\nError on line 1197 of /Users/p/Documents/webs/in-house/451-wtf/node_modules/irisjs/modules/core/frontend/frontend.js Cannot read property 'toLowerCase' of undefined\nLog called from /Users/p/Documents/webs/in-house/451-wtf/node_modules/irisjs/modules/core/frontend/frontend.js","time":"2016-05-13T12:00:39.850Z","v":0}
FilipNest commented 8 years ago

This is a handlebars issue related to something to do with submenus.

The pull request above doesn't fix it but it does provide a log to help fix it.

The error itself is:

Error on line 266 of ...\node_modules\handlebars\dist\cjs\handlebars\runtime.js The partial submenu could not be found Error on line 68 of ...\node_modules\irisjs\node_modules\handlebars\dist\cjs\handlebars\runtime.js