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

forrestkirby
forrestkirby
  • forrestkirby
  • 2 months ago

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 [as resolveWith] (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


Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai