Uncaught Error: cannot call methods on tabs prior to initialization; attempted to call method 'refre

Anyone know what would be causing this error? I keep hitting it, but it is unclear what I"m doing wrong and what I need to do to avoid it.

Uncaught Error: cannot call methods on tabs prior to initialization; attempted to call method ‘refresh’

Thanks in advance,
Andrew


It looks like this is related to order of operations. 

Can you provide more detail about the page you’re seeing it on? Perhaps even sharing the xml if it is a simple page.