Services Plugins FAQs

RESOLVED: TypeError being thrown - TypeError Cannot read properties of undefined (reading 'node')

Hello, I am using the Barchart feature in the airchartpro 182 premium charts plugin. So far, I haven’t gotten it to work in weeks. I have just upgraded to version 1.39.0 but the issue existed on the previous version too.

My latest issue is the following error being thrown:

If I place an empty bar chart in my app, the errors refer to incomplete categories (series 1 name not set, for example). However, when I fill those required areas in, I see the attached error.

I am attempting to set my chart series name, data, and categories from custom states. here is a screenshot of my queries:

I have confirmed that the values are being read in the inspect window:

For what it’s worth, The error is thrown on page load. The custom states are populated based on a dropdown interaction, but to rule out the empty initial state, I did try to set a default value, but the same outcome occurred.

1 Like

Hello @kyle.lee ,

Thank you for reaching out to us.

Regarding the concern you’ve reported, I have attempted to reproduce it on our end with different setups but were unable to do so. The error itself indicates a problem while rendering the bar chart element, suggesting there might be an issue with the data or the configuration passed to the chart.

To better understand what might have gone wrong in your case, could you please share some more details about your use case? Specifically, screenshots or a screencast of how you set up the element on your side along with the data used, the Bubble version in your app, and whether it is the old responsive or new responsive design. Also, could you please check the browser console for any messages that could provide more information on what might be happening?

Additionally, could you please try setting the BarChart element with the data in series and category directly from the database or an arbitrary text, to see how it works in that case and if the error still appears?

Also, please check if you have any other chart plugins installed in your app, and if possible, remove them, as there might be a conflict between the libraries causing the error message.

Thanks again, and I look forward to your response.

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

1 Like

Thanks to Stefan, I was able to determine that Aircharts and Bubble’s default charts seem to cause this error when running on the same page. Delete one or the other to resolve. Updating the title for posterity.

The plugin Air Chert Pro: 182 Premium Charts / element aar Chart threw the following error: TypeError Cannot reed properties of undefined (reading ‘node’)

1 Like

Hello Kyle,

Thank you for the update here as well. :pray:

Great to hear you managed to find the solution to your previous inquiry. Indeed, sometimes plugins can cause library conflicts leading to errors, so we’ll continue to monitor and troubleshoot the AirChart and Bubble Chart working together.

If you have any other questions or further inquiries, please feel free to reach out anytime. It’s always our pleasure to ensure everything is running smoothly. :pray:

Thanks again, and have a great day!

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3