Cannot read property 'selected' of null ionic 2


#1

The tab index is null on the initial login to the app. I have to close it then re-open it in order to be able to navigate.

I’ve tried the solutions here to no avail:

Please help. I used the the examples Ionic provided for creating tabs.