TypeError: /home/tom/qtron/src/views/breadcrumb.pug:13
11| - bc.title = bc.title.title
12| li.breadcrumb-item
> 13| a(href=bcpath) #{bc.title.charAt(0).toUpperCase() + bc.title.slice(1)}
Cannot read property 'charAt' of undefined
at eval (eval at wrap (/home/tom/qtron/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:275:66)
at eval (eval at wrap (/home/tom/qtron/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:302:4)
at template (eval at wrap (/home/tom/qtron/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:557:7)
at Object.exports.renderFile (/home/tom/qtron/node_modules/pug/lib/index.js:452:38)
at Object.exports.renderFile (/home/tom/qtron/node_modules/pug/lib/index.js:442:21)
at View.exports.__express [as engine] (/home/tom/qtron/node_modules/pug/lib/index.js:491:11)
at View.render (/home/tom/qtron/node_modules/express/lib/view.js:135:8)
at tryRender (/home/tom/qtron/node_modules/express/lib/application.js:640:10)
at Function.render (/home/tom/qtron/node_modules/express/lib/application.js:592:3)
at ServerResponse.render (/home/tom/qtron/node_modules/express/lib/response.js:1012:7)
at errorHandler (/home/tom/qtron/dist/utils/errorHandler.js:33:28)
at Layer.handle_error (/home/tom/qtron/node_modules/express/lib/router/layer.js:71:5)
at trim_prefix (/home/tom/qtron/node_modules/express/lib/router/index.js:315:13)
at /home/tom/qtron/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home/tom/qtron/node_modules/express/lib/router/index.js:335:12)
at next (/home/tom/qtron/node_modules/express/lib/router/index.js:275:10)