Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

Uncaught TypeError: Cannot read property ‘OP’ of undefined

Answered
Lucas Clerigues asked on April 8, 2020

Using:

http://localhost:5601/app/flexmonster_pivot opens correctly, but when I select an index, this error appears:
Version: 7.3.2 Build: 25398 Error: Uncaught TypeError: Cannot read property ‘OP’ of undefined (http://localhost:5601/bundles/flexmonster_pivot.bundle.js:32) at window.onerror (http://localhost:5601/bundles/commons.bundle.js:3:1862438)

Any known solution for this problem?
Thanks in advance.

6 answers

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster April 8, 2020

Hi Lucas,
 
Thank you for writing to us.
 
We have to inform you that due to particular technical difficulties, further Flexmonster plugin for Kibana development has been suspended. 
 
Instead, we would suggest reverting Flexmonster to version 2.7.24, which is the last version with stable Kibana compatibility.

yarn install react-flexmonster@2.7.24
yarn install flexmonster@2.7.24

Alternatively, you can use the plugin source code for your custom Kibana integration development.
 
Please let us know if this helps.
 
Best regards,
Mykhailo

Public
Lucas Clerigues April 9, 2020

Hi, Im sorry, but i must be doing something wrong, yarn informs me that:
error `install` has been replaced with `add` to add new dependencies. Run “yarn add flexmonster@2.7.24” instead.
 
Using the ‘add’ command does nothing to prevent the ‘OP’ error message 

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster April 10, 2020

Hi Lucas,
 
Thank you for your fast response.
 
This issue might be caused by the specificities of Kibana caching – we would suggest reinstalling the plugin with the following steps:
 

  1. Uninstall the Flexmonster plugin from Kibana.
  2. Launch Kibana and make sure that the plugin was fully removed. 
  3. Close Kibana & install the Flexmonster plugin again.
  4. Downgrade the dependencies to necessary versions using the `yarn add` command.

 
After this, the plugin should be working as expected.
 
Please let us know if this works for you.
 
Regards,
Mykhailo

Public
Lucas Clerigues April 14, 2020

Hi, alas, reinstalling the plugin did nonthing to fix the current problem, still getting the same error screen

Attachments:
flexmonster.PNG

Public
Lucas Clerigues April 14, 2020

I´ve never used Yarn, but I have been reciving a number of warnings while updating, could this be the reason for the error?

Attachments:
Yarn.PNG

Public
Vera Didenko Flexmonster April 16, 2020

Hello, 
 
Thank you for reaching out to us.
 
Our team has found a possible solution to the problem, which involves skipping the yarn upgrade step. 
We kindly advise reinstalling the plugin by following the updated installation steps in our Readme.
Also, please see the following Forum thread for more details.
 
Hope this helps.
 
Please let us know if you have any other questions.
 
Kind regards,
Vera

Please login or Register to Submit Answer