moodleou / moodle-mod_oublog

Alternative blog module for Moodle 2 (including course blogs)
31 stars 27 forks source link

Blog usage sidebar "Most commented posts" JS error: statsupdate_killspinner is not a function #98

Closed mwithheld closed 5 years ago

mwithheld commented 5 years ago

Seen on Moodle 3.5.5 (Build: 20190311) using OUBlog version:

$plugin->version = 2018032001;
$plugin->requires = 2017111300;
$plugin->component = 'mod_oublog';// Full name of the plugin (used for diagnostics)
$plugin->maturity = MATURITY_STABLE;
$plugin->release = '3.4 r1';

To reproduce:

JS console for url https://some.moodlesite.com/mod/oublog/view.php?id=1192592&forceview=1

yui_combo.php?m/1556911031/mod_oublog/statsupdate/statsupdate-debug.js:69 
Uncaught TypeError: statsupdate_killspinner is not a function
    at YUI.failure (yui_combo.php?m/1556911031/mod_oublog/statsupdate/statsupdate-debug.js:69)
    at Y.Subscriber._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13680)
    at Y.Subscriber.notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13709)
    at Y.CustomEvent._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13372)
    at Y.CustomEvent._procSubs (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13498)
    at Y.CustomEvent.fireSimple (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13465)
    at Y.CustomEvent._fire (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13447)
    at IO.fire (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:14600)
    at IO._evt (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:23686)
    at IO.failure (yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:23774)
jason-platts commented 5 years ago

Thanks for reporting but this is a duplicate of #88 (Seems this button has an issue when using Boost)