# Issues with plugins and Kibana 6.3

**URL:** <https://discuss.elastic.co/t/issues-with-plugins-and-kibana-6-3/136204>\
**Category:** Kibana\
**Created:** [June 17, 2018, 10:51am UTC](https://discuss.elastic.co/t/issues-with-plugins-and-kibana-6-3/136204 "2018-06-17T10:51:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![snuids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/snuids/32/32346_2.png) [@snuids](https://discuss.elastic.co/u/snuids)\
**Post date:** [June 17, 2018, 10:51am UTC](https://discuss.elastic.co/t/issues-with-plugins-and-kibana-6-3/136204/1 "2018-06-17T10:51:45Z")

</div>

I use a very simple plugin to display traffic lights in Kibana. It is working perfectly with Kibana 6.0 and 6.1. But breaks Kibana 6.3.

The source code is available here:

> **[snuids/TrafficLightVisKibana6](https://github.com/snuids/TrafficLightVisKibana6)**
>
> TrafficLightVisKibana6 - A traffic lights visualisation panel that can be split on multiple lines.

To be more precise here:

import {CATEGORY} from 'ui/vis/vis\_category';  
import {VisFactoryProvider} from 'ui/vis/vis\_factory';  
import {VisTypesRegistryProvider} from 'ui/registry/vis\_types';  
import {VisSchemasProvider} from 'ui/vis/editors/default/schemas';

function TestVisProvider(Private) {  
const VisFactory = Private(VisFactoryProvider);  
**const Schemas = Private(VisSchemasProvider);**

return VisFactory.createAngularVisualiza...

It looks like VisSchemasProvider is undefined and I don't understand why.

I don't get any error in the Kibana server part but only in the browser console.

I am a little bit lost there and any help would be appreciated. There are multiple plugins with traffic lights but this one has the advantage to be double splitted (Vertically and horizontally) which is really useful in order to monitor a lot of processes for example.

Thanks,

Arnaud

---

<div class="post-metadata">

**Author:** ![snuids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/snuids/32/32346_2.png) [@snuids](https://discuss.elastic.co/u/snuids)\
**Post date:** [June 17, 2018, 11:49am UTC](https://discuss.elastic.co/t/issues-with-plugins-and-kibana-6-3/136204/2 "2018-06-17T11:49:16Z")

</div>

Ok Found it. I will post it there for the others.

There is no need to use the VisSchemaProvider, it is possible to instantiate Schemas directly like this:

Replace:

import {VisSchemasProvider} from 'ui/vis/editors/default/schemas';

By:

import {Schemas} from 'ui/vis/editors/default/schemas';

And remove the const Schemas = Private(VisSchemasProvider) line.

I will make a 6.3 branch of the plugin.

Cheers,

Arnaud

---

<div class="post-metadata">

**Author:** ![Bill\_McConaghy](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@Bill\_McConaghy](https://discuss.elastic.co/u/Bill_McConaghy)\
**Post date:** [June 18, 2018, 1:31pm UTC](https://discuss.elastic.co/t/issues-with-plugins-and-kibana-6-3/136204/3 "2018-06-18T13:31:36Z")

</div>

Glad you got it working, and thanks for posting your solution to help others.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 16, 2018, 1:31pm UTC](https://discuss.elastic.co/t/issues-with-plugins-and-kibana-6-3/136204/4 "2018-07-16T13:31:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
