# Custom plugin compatibility issue with Kibana 6.4

**URL:** <https://discuss.elastic.co/t/custom-plugin-compatibility-issue-with-kibana-6-4/156086>\
**Category:** Kibana\
**Created:** [November 9, 2018, 4:23pm UTC](https://discuss.elastic.co/t/custom-plugin-compatibility-issue-with-kibana-6-4/156086 "2018-11-09T16:23:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tshoeb](https://avatars.discourse-cdn.com/v4/letter/t/ccd318/32.png) [@tshoeb](https://discuss.elastic.co/u/tshoeb)\
**Post date:** [November 9, 2018, 4:23pm UTC](https://discuss.elastic.co/t/custom-plugin-compatibility-issue-with-kibana-6-4/156086/1 "2018-11-09T16:23:37Z")

</div>

Hello,

I have developed a custom visualization plugin. It is working fine with Kibana versions 6.1, 6.2, and 6.3 but it is giving a 'timefilter' related error on version 6.4. I tried to compare my usage of timefilter with the code of vega plugin and I am doing the similar thing but I can't find solution for this error. I have attached the screenshot of the error and my plugin code is available at [github](https://github.com/tshoeb/Insight).

 ![32%20PM](https://us1.discourse-cdn.com/elastic/original/3X/1/7/17e996583e805d1a2f3551f568fb5b8d38ccdfdf.png)

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [November 9, 2018, 7:54pm UTC](https://discuss.elastic.co/t/custom-plugin-compatibility-issue-with-kibana-6-4/156086/2 "2018-11-09T19:54:57Z")

</div>

Hi, it's hard to tell which part of the code this error came from. In 6.4, significant changes to timefilter were introduced:

> <https://github.com/elastic/kibana/pull/19651>

  

> <https://github.com/elastic/kibana/pull/19852>

---

<div class="post-metadata">

**Author:** ![tshoeb](https://avatars.discourse-cdn.com/v4/letter/t/ccd318/32.png) [@tshoeb](https://discuss.elastic.co/u/tshoeb)\
**Post date:** [November 9, 2018, 8:13pm UTC](https://discuss.elastic.co/t/custom-plugin-compatibility-issue-with-kibana-6-4/156086/3 "2018-11-09T20:13:19Z")

</div>

Hi @jen-huang, thanks for your reply. Reading the comment on the first commit link you posted, seems like the error is in the fact that I am using the angular service to get the time filter. Since in 6.4 it's been removed from that how would I go by to import the time filter to get the bounds?

---

<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:** [December 7, 2018, 8:13pm UTC](https://discuss.elastic.co/t/custom-plugin-compatibility-issue-with-kibana-6-4/156086/4 "2018-12-07T20:13:32Z")

</div>

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