Cannot read property 'route' of undefined

I have set my back link on a navbar , when I click to go back, it reroutes, but I do get the following in console:

Uncaught TypeError: Cannot read property 'route' of undefined
    at Router.back (back.js:719)
    at afterAnimation (back.js:440)
    at eval (back.js:480)
    at onDone (router-class.js:360)
    at HTMLDivElement.eval (router-class.js:364)
    at HTMLDivElement.fireCallBack (dom7.module.js:611)
    at HTMLDivElement.handleEvent (dom7.module.js:409)
back @ back.js:719
afterAnimation @ back.js:440
eval @ back.js:480
onDone @ router-class.js:360
eval @ router-class.js:364
fireCallBack @ dom7.module.js:611
handleEvent @ dom7.module.js:409
components-router.js:95
Uncaught TypeError: Cannot read property 'removeChild' of null
    at Router.removePage (components-router.js:95)
    at afterAnimation (back.js:427)
    at eval (back.js:480)
    at onDone (router-class.js:360)
    at HTMLDivElement.eval (router-class.js:364)
    at HTMLDivElement.fireCallBack (dom7.module.js:611)
    at HTMLDivElement.handleEvent (dom7.module.js:409)

What does your routes.js look like? How are you calling the page that produces the error?

I need to look into that. Can’t say with certainty, but I think I didn’t mess with routs that much. Anyway, after I check, I’ll get back with my code and some more details.
Thanks.