Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (ti.app)
Viewing all articles
Browse latest Browse all 15

Another [undefined] is not an object error

$
0
0

So it was working literally 30 minutes ago for several days and boom its down.

function cartBadge(){   
    if ( cartItems.length >= 1){
        Ti.App.tabCart.setBadge(cartItems.length);
    }
}
The error I receive is on Ti.App.tabCart. The full error is, Script Error = Result of expression 'Ti.App.tabCart' [undefined] is not an object.

Anybody see the problem? I've tried restarting, deleting built folder, cleaning project...


Viewing all articles
Browse latest Browse all 15


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>