unfortunately that error message is not much saying, but a common mistake. We've changed the way you need to copy over injected UI vars in your plugin. Add to your plugin description (i.e. inside the object you pass to new kibana.Plugin():
Where yourAppId must match the id you gave your application in the app part of that file. ALso if your plugin was running earlier already, you might have the old injectVars key in your app definition, which you can remove.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.