Runtime Error invoke : no method named ' Elements' in class com.google.appinventor.components.runtime.Label

What could be the problem?

You are using the wrong block

Show your blocks or upload the AIA here...