fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
487 stars 301 forks source link

Error while loading statistic charts #2681

Closed magicsunday closed 5 years ago

magicsunday commented 5 years ago

After initial page load the charts are not generated. Best seen after switching tabs.

https://dev.webtrees.net/demo-dev/module/statistics_chart/Chart/demo

The firefox console contains the following error:

Must call google.charts.load before google.charts.setOnLoadCallback

    jo https://www.gstatic.com/charts/loader.js:289
    callbackPieChart https://dev.webtrees.net/demo-dev/module/statistics_chart/Chart/demo#tab-tab-48ebde000198465de8a86b5856f54597 line 1 > scriptElement:4
    <anonym> https://dev.webtrees.net/demo-dev/module/statistics_chart/Chart/demo#tab-tab-48ebde000198465de8a86b5856f54597 line 1 > scriptElement:29
    L https://dev.webtrees.net/demo-dev/public/js/vendor.min.js?v=1570700530:1
    We https://dev.webtrees.net/demo-dev/public/js/vendor.min.js?v=1570700530:1
    append https://dev.webtrees.net/demo-dev/public/js/vendor.min.js?v=1570700530:1
    html https://dev.webtrees.net/demo-dev/public/js/vendor.min.js?v=1570700530:1
    Z https://dev.webtrees.net/demo-dev/public/js/vendor.min.js?v=1570700530:1
    html https://dev.webtrees.net/demo-dev/public/js/vendor.min.js?v=1570700530:1
    load https://dev.webtrees.net/demo-dev/public/js/vendor.min.js?v=1570700530:1
    l https://dev.webtrees.net/demo-dev/public/js/vendor.min.js?v=1570700530:1
    fireWith https://dev.webtrees.net/demo-dev/public/js/vendor.min.js?v=1570700530:1
    D https://dev.webtrees.net/demo-dev/public/js/vendor.min.js?v=1570700530:1
    t https://dev.webtrees.net/demo-dev/public/js/vendor.min.js?v=1570700530:1
fisharebest commented 5 years ago

Seems to be fixed by PR #2688