# Undefined class constant 'MAJOR\_VERSION

**URL:** <https://discuss.elastic.co/t/undefined-class-constant-major-version/336429>\
**Category:** Elasticsearch\
**Created:** [June 20, 2023, 6:27am UTC](https://discuss.elastic.co/t/undefined-class-constant-major-version/336429 "2023-06-20T06:27:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zaheer8](https://avatars.discourse-cdn.com/v4/letter/z/51bf81/32.png) [@zaheer8](https://discuss.elastic.co/u/zaheer8)\
**Post date:** [June 20, 2023, 6:27am UTC](https://discuss.elastic.co/t/undefined-class-constant-major-version/336429/1 "2023-06-20T06:27:00Z")

</div>

Hi  
Geek Elasticsearch component is showing the Undefined class constant 'MAJOR\_VERSION' error in Elasticsearch version 6.x . Can you help why it is showing this error?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 20, 2023, 6:30am UTC](https://discuss.elastic.co/t/undefined-class-constant-major-version/336429/2 "2023-06-20T06:30:51Z")

</div>

Welcome to our community! 😃

It's not really clear what you are asking here. What is "Geek Elasticsearch"? Please also note that version 6.X is [EOL](https://www.elastic.co/support/eol) and no longer supported, you should be looking to upgrade as a matter of urgency.

---

<div class="post-metadata">

**Author:** ![zaheer8](https://avatars.discourse-cdn.com/v4/letter/z/51bf81/32.png) [@zaheer8](https://discuss.elastic.co/u/zaheer8)\
**Post date:** [June 20, 2023, 6:33am UTC](https://discuss.elastic.co/t/undefined-class-constant-major-version/336429/3 "2023-06-20T06:33:30Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/8/b/8bbc691b41b92ec3ffac1d7b0c308aeb0c8dad2b.png)

---

<div class="post-metadata">

**Author:** ![zaheer8](https://avatars.discourse-cdn.com/v4/letter/z/51bf81/32.png) [@zaheer8](https://discuss.elastic.co/u/zaheer8)\
**Post date:** [June 20, 2023, 6:36am UTC](https://discuss.elastic.co/t/undefined-class-constant-major-version/336429/4 "2023-06-20T06:36:00Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/d/1/d15af5317aeaf97e301c7799ee572eeffbe89f28.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 20, 2023, 8:46am UTC](https://discuss.elastic.co/t/undefined-class-constant-major-version/336429/5 "2023-06-20T08:46:53Z")

</div>

Thanks, you might need to ask whoever owns this product, as this seems to be an error from it and not Elasticsearch.

---

<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 18, 2023, 8:47am UTC](https://discuss.elastic.co/t/undefined-class-constant-major-version/336429/6 "2023-07-18T08:47:01Z")

</div>

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