Skip to main content

Loading Poll with Shortcode and Modern Chart: Uncaught ReferenceError: Chart is not defined

574 Views
0 Replies
2 min read

Dear corejoomla Team,

I am trying to load a Community Polls poll via the content plugin shortcode and applied the fix from the topic Compatibility with YOOtheme Pro Page Builder. This works fine as long as I use "Simple Bar Chart" as Chart Type. When I switch to "Modern Chart", I get the following error in the developer console, though:

Uncaught ReferenceError: Chart is not defined
    at Object.PollsFactory.loadModernChart (cj.polls.min.js?t=1596543105:405)
    at HTMLDivElement.<anonymous> (cj.polls.min.js?t=1596543105:626)
    at Function.each (jquery.min.js?844fb20501a291c4e35b69707f156708:2)
    at a.fn.init.each (jquery.min.js?844fb20501a291c4e35b69707f156708:2)
    at Object.PollsFactory.init_poll_view (cj.polls.min.js?t=1596543105:542)
    at HTMLDocument.<anonymous> (cj.polls.min.js?t=1596543105:873)
    at u (jquery.min.js?844fb20501a291c4e35b69707f156708:2)
    at Object.fireWith (jquery.min.js?844fb20501a291c4e35b69707f156708:2)
    at Function.ready (jquery.min.js?844fb20501a291c4e35b69707f156708:2)
    at HTMLDocument._ (jquery.min.js?844fb20501a291c4e35b69707f156708:2)

The issue can be seen here. Let me know if you need backend access for further investigation.

Many thanks!

Kind regards
Thomas

0 Replies

No Replies Yet

Topic Author

F

forrestkirby

@forrestkirby

Topic Stats

Created Tuesday, 04 August 2020 12:36
Last Updated Tuesday, 04 August 2020 12:36
Replies 0
Views 574
Likes 0

Share This Topic