The default output of tracks depends on the template you started the project with.
If you make a template with everything routed the way you like it all will be fine, But--
I often start projects by OPENING a MIDI file. There will be no Master or other busses. Just midi tracks and the TTS-1 is the only audio track. This will default to outputting to my Audio interface 1/2.
So unless I insert a master buss and point all the audio tracks to it, the default output will be my audio interface 1/2 output.
I find that I then will insert better VST's like AD2 using a track template I saved and this will also insert a Master and a sub buss if they were part of that save. That VST will be set to the Master automatically.
But If I insert a VST instrument direct from the synth rack it will default to the AI 1/2 output and bypass the master. You have to set the Master as the default etc.
Therefore I always mute the master buss to check that all audio is flowing through it.
And as said above using "Select None" seems to always work as it clears any highlighted clips or tracks you might have been focused on before you exported. If that was a midi clip the error message will pop up. The export then gathers everything audio and uses it.
I have used this since Sonar 6 and has always worked.
It is not a bug that the message appears. It's just how it works. I do believe using "Select All" will also work but there was a reason I was told 12 years ago that I should use `select none so don't ask me why I forget.