Error - does not save changes after last update

Hello,

After the last update (1.13 (2018112200)), I can not save any changes or create a new H5P resource. My version of Moodle is 3.2.1+ (Build: 20170216).

My fear is to uninstall the plugin and lose part of my courses and their history. Here is the error log below:

I thank the attention!

Debug info: Column 'json_content' cannot be null
UPDATE mdl_hvp SET authors = ?,changes = ?,source = ?,license = ?,license_version = ?,license_extras = ?,author_comments = ?,year_from = ?,year_to = ?,name = ?,course = ?,intro = ?,introformat = ?,json_content = ?,embed_type = ?,main_library_id = ?,filtered = ?,disable = ?,timemodified = ? WHERE id=?
[array (
0 => NULL,
1 => NULL,
2 => NULL,
3 => NULL,
4 => NULL,
5 => NULL,
6 => NULL,
7 => NULL,
8 => NULL,
9 => 'Aula 01',
10 => '123',
11 => '',
12 => '1',
13 => NULL,
14 => 'div',
15 => '13',
16 => '',
17 => 0,
18 => 1543265753,
19 => '7',
)]
Error code: dmlwriteexception
Stack trace:
• line 482 of /lib/dml/moodle_database.php: dml_write_exception thrown
• line 1406 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
• line 1438 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
• line 946 of /mod/hvp/classes/framework.php: call to mysqli_native_moodle_database->update_record()
• line 1936 of /mod/hvp/library/h5p.classes.php: call to mod_hvp\framework->updateContent()
• line 147 of /mod/hvp/lib.php: call to H5PCore->saveContent()
• line 109 of /mod/hvp/lib.php: call to hvp_save_content()
• line 571 of /course/modlib.php: call to hvp_update_instance()
• line 159 of /course/modedit.php: call to update_moduleinfo()

icc's picture

Did you run content upgrade? (available under /mod/hvp/library_list.php in Moodle)

Hello icc,

Yes, the contents have been updated (screenshot), but the error remains:

Debug info: Column 'json_content' cannot be null
UPDATE mdl_hvp SET authors = ?,changes = ?,source = ?,license = ?,license_version = ?,license_extras = ?,author_comments = ?,year_from = ?,year_to = ?,name = ?,course = ?,intro = ?,introformat = ?,json_content = ?,embed_type = ?,main_library_id = ?,filtered = ?,disable = ?,timemodified = ? WHERE id=?
[array (
0 => NULL,
1 => NULL,
2 => NULL,
3 => NULL,
4 => NULL,
5 => NULL,
6 => NULL,
7 => NULL,
8 => NULL,
9 => 'Aula 01',
10 => '123',
11 => '',
12 => '1',
13 => NULL,
14 => 'div',
15 => '152',
16 => '',
17 => 0,
18 => 1543425699,
19 => '98',
)]
Error code: dmlwriteexception
Stack trace:
line 482 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 1406 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1438 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
line 946 of /mod/hvp/classes/framework.php: call to mysqli_native_moodle_database->update_record()
line 1936 of /mod/hvp/library/h5p.classes.php: call to mod_hvp\framework->updateContent()
line 147 of /mod/hvp/lib.php: call to H5PCore->saveContent()
line 109 of /mod/hvp/lib.php: call to hvp_save_content()
line 571 of /course/modlib.php: call to hvp_update_instance()
line 159 of /course/modedit.php: call to update_moduleinfo()

Attachments: 
icc's picture

Do you get any JavaScript errors in the console when saving? Ctrl+Shift+J to open in Chrome (/K in Firefox), click Settings (cog) and choose Preserve log, now try to save again.

Done!
Follow the log and an attached screenshot.

jquery.dataTables.css:1 Failed to load resource: the server responded with a status of 404 (not found)
codemirror.css:1 Failed to load resource: the server responded with a status of 404 (not found)
fullscreen.css:1 Failed to load resource: the server responded with a status of 404 (not found)
jquery.dataTables.css:1 Failed to load resource: the server responded with a status of 404 (not found)
fullscreen.css:1 Failed to load resource: the server responded with a status of 404 (not found)
codemirror.css:1 Failed to load resource: the server responded with a status of 404 (not found)
Navigated to http://ead.mppr.mp.br/course/modedit.php?update=5558&return=0&sr=0
modedit.php:22 GET http://ead.mppr.mp.br/theme/styles.php/adaptable/blocks/configurable_rep... net::ERR_ABORTED 404 (not found)
modedit.php:22 GET http://ead.mppr.mp.br/theme/styles.php/adaptable/blocks/configurable_rep... net::ERR_ABORTED 404 (not found)
modedit.php:22 GET http://ead.mppr.mp.br/theme/styles.php/adaptable/blocks/configurable_rep... net::ERR_ABORTED 404 (not found)
/course/modedit.php:1 POST http://ead.mppr.mp.br/course/modedit.php 404 (Not Found)
Navigated to http://ead.mppr.mp.br/course/modedit.php
modedit.php:37 GET http://ead.mppr.mp.br/theme/styles.php/adaptable/blocks/configurable_rep... net::ERR_ABORTED 404 (not found)
modedit.php:37 GET http://ead.mppr.mp.br/theme/styles.php/adaptable/blocks/configurable_rep... net::ERR_ABORTED 404 (not found)
modedit.php:37 GET http://ead.mppr.mp.br/theme/styles.php/adaptable/blocks/configurable_rep... net::ERR_ABORTED 404 (not found)
yui_combo.php?3.17.2/json-stringify/json-stringify-min.js&m/1543425123/core_availability/form/form-min.js&m/1543425123/availability_completion/form/form-min.js&3.17.2/datatype-xml-parse/datatype-xml-parse-min.js&3.17.2/io-xdr/io-xdr-min.js&3.17.2/io-form/io-form-min.js&3.17.2/io-upload-iframe/io-upload-iframe-min.js&3.17.2/queue-promote/queue-promote-min.js&3.17.2/io-queue/io-queue-min.js&m/1543425123/availability_date/form/form-min.js&m/1543425123/availability_grade/form/form-min.js&m/1543425123/availability_group/form/form-min.js&m/1543425123/availability_grouping/form/form-min.js&m/1543425123/availability_profile/form/form-min.js:9 Uncaught TypeError: Cannot read property 'setAttribute' of null
at Object.init (yui_combo.php?3.17.2/json-stringify/json-stringify-min.js&m/1543425123/core_availability/form/form-min.js&m/1543425123/availability_completion/form/form-min.js&3.17.2/datatype-xml-parse/datatype-xml-parse-min.js&3.17.2/io-xdr/io-xdr-min.js&3.17.2/io-form/io-form-min.js&3.17.2/io-upload-iframe/io-upload-iframe-min.js&3.17.2/queue-promote/queue-promote-min.js&3.17.2/io-queue/io-queue-min.js&m/1543425123/availability_date/form/form-min.js&m/1543425123/availability_grade/form/form-min.js&m/1543425123/availability_group/form/form-min.js&m/1543425123/availability_grouping/form/form-min.js&m/1543425123/availability_profile/form/form-min.js:9)
at modedit.php:556
at YUI._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9)
at yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9
at YUI._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9)
at YUI.T (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9)
at e.Loader._finish (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:16)
at e.Loader._onSuccess (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:16)
at e.Loader.p (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:17)
at e.Loader.onSuccess (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:17)
init @ yui_combo.php?3.17.2/json-stringify/json-stringify-min.js&m/1543425123/core_availability/form/form-min.js&m/1543425123/availability_completion/form/form-min.js&3.17.2/datatype-xml-parse/datatype-xml-parse-min.js&3.17.2/io-xdr/io-xdr-min.js&3.17.2/io-form/io-form-min.js&3.17.2/io-upload-iframe/io-upload-iframe-min.js&3.17.2/queue-promote/queue-promote-min.js&3.17.2/io-queue/io-queue-min.js&m/1543425123/availability_date/form/form-min.js&m/1543425123/availability_grade/form/form-min.js&m/1543425123/availability_group/form/form-min.js&m/1543425123/availability_grouping/form/form-min.js&m/1543425123/availability_profile/form/form-min.js:9
(anonymous) @ modedit.php:556
_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9
(anonymous) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9
_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9
T @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9
_finish @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:16
_onSuccess @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:16
p @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:17
onSuccess @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:17
_finish @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:12
_next @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:12
_progress @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:13
h @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:12
load (async)
_insert @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:12
execute @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:12
_next @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:12
_load @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:12
js @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:12
_insert @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:17
(anonymous) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:17
_continue @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:17
insert @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:17
_use @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9
use @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9
(anonymous) @ modedit.php:556
_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:40
notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:40
_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:39
_procSubs @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:39
fireSimple @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:39
_fire @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:39
fire @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:40
_load @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:115
o @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:115
load (async)
g @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:8
(anonymous) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:116
YUI.add.requires @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:116
_attach @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9
_attach @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:8
_use @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9
use @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:9
(anonymous) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543425123/mcore-min.js:567

Hi,
Same problem happens on a Moodle 3.1.14+ (Build: 20180927). Add or update an H5P activity lead to a dmlwriteexception error.
Patrick

icc's picture

You guys are indeed correct.
There was a function that was dropped in the mod_form to automatically get newer Moodle Core improvements to the form but it turns out there was no default for it prior to 3.2. I've added back the current Core version of the function which seems to work nicely with 3.1.
We will release a new version of the plugin with this fixed as soon as possible. Apologies for the inconvenience.

If you cannot wait you can apply the fix manually to your file: 30b5b65

Ok icc!
Many thanks for your assistance and your attention!

Hello icc,

Unfortunately the error still persists. I can not save or create an H5P resource in Moodle.

I have already performed the new update (v1.14 - 2018113000). I did not make any changes manually. I awaited the update.

The contents are all up to date.

I abrogate the error log:

Debug info: Column 'json_content' cannot be null
UPDATE mdl_hvp SET authors = ?,changes = ?,source = ?,license = ?,license_version = ?,license_extras = ?,author_comments = ?,year_from = ?,year_to = ?,name = ?,course = ?,intro = ?,introformat = ?,json_content = ?,embed_type = ?,main_library_id = ?,filtered = ?,disable = ?,timemodified = ? WHERE id=?
[array (
0 => NULL,
1 => NULL,
2 => NULL,
3 => NULL,
4 => NULL,
5 => NULL,
6 => NULL,
7 => NULL,
8 => NULL,
9 => 'Aula 01',
10 => '123',
11 => '',
12 => '1',
13 => NULL,
14 => 'div',
15 => '152',
16 => '',
17 => 0,
18 => 1543857798,
19 => '7',
)]
Error code: dmlwriteexception
Stack trace:
line 482 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 1406 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1438 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
line 946 of /mod/hvp/classes/framework.php: call to mysqli_native_moodle_database->update_record()
line 1936 of /mod/hvp/library/h5p.classes.php: call to mod_hvp\framework->updateContent()
line 147 of /mod/hvp/lib.php: call to H5PCore->saveContent()
line 109 of /mod/hvp/lib.php: call to hvp_save_content()
line 571 of /course/modlib.php: call to hvp_update_instance()
line 159 of /course/modedit.php: call to update_moduleinfo()

Below the Javascript log and attached screenshot:

/course/modedit.php:1 POST http://ead.mppr.mp.br/course/modedit.php 404 (Not Found)
Navigated to http://ead.mppr.mp.br/course/modedit.php
yui_combo.php?3.17.2/json-stringify/json-stringify-min.js&m/1543857273/core_availability/form/form-min.js&m/1543857273/availability_completion/form/form-min.js&3.17.2/datatype-xml-parse/datatype-xml-parse-min.js&3.17.2/io-xdr/io-xdr-min.js&3.17.2/io-form/io-form-min.js&3.17.2/io-upload-iframe/io-upload-iframe-min.js&3.17.2/queue-promote/queue-promote-min.js&3.17.2/io-queue/io-queue-min.js&m/1543857273/availability_date/form/form-min.js&m/1543857273/availability_grade/form/form-min.js&m/1543857273/availability_group/form/form-min.js&m/1543857273/availability_grouping/form/form-min.js&m/1543857273/availability_profile/form/form-min.js:9 Uncaught TypeError: Cannot read property 'setAttribute' of null
at Object.init (yui_combo.php?3.17.2/json-stringify/json-stringify-min.js&m/1543857273/core_availability/form/form-min.js&m/1543857273/availability_completion/form/form-min.js&3.17.2/datatype-xml-parse/datatype-xml-parse-min.js&3.17.2/io-xdr/io-xdr-min.js&3.17.2/io-form/io-form-min.js&3.17.2/io-upload-iframe/io-upload-iframe-min.js&3.17.2/queue-promote/queue-promote-min.js&3.17.2/io-queue/io-queue-min.js&m/1543857273/availability_date/form/form-min.js&m/1543857273/availability_grade/form/form-min.js&m/1543857273/availability_group/form/form-min.js&m/1543857273/availability_grouping/form/form-min.js&m/1543857273/availability_profile/form/form-min.js:9)
at modedit.php:556
at YUI._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9)
at yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9
at YUI._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9)
at YUI.T (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9)
at e.Loader._finish (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:16)
at e.Loader._onSuccess (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:16)
at e.Loader.p (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:17)
at e.Loader.onSuccess (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:17)
init @ yui_combo.php?3.17.2/json-stringify/json-stringify-min.js&m/1543857273/core_availability/form/form-min.js&m/1543857273/availability_completion/form/form-min.js&3.17.2/datatype-xml-parse/datatype-xml-parse-min.js&3.17.2/io-xdr/io-xdr-min.js&3.17.2/io-form/io-form-min.js&3.17.2/io-upload-iframe/io-upload-iframe-min.js&3.17.2/queue-promote/queue-promote-min.js&3.17.2/io-queue/io-queue-min.js&m/1543857273/availability_date/form/form-min.js&m/1543857273/availability_grade/form/form-min.js&m/1543857273/availability_group/form/form-min.js&m/1543857273/availability_grouping/form/form-min.js&m/1543857273/availability_profile/form/form-min.js:9
(anonymous) @ modedit.php:556
_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9
(anonymous) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9
_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9
T @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9
_finish @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:16
_onSuccess @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:16
p @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:17
onSuccess @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:17
_finish @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:12
_next @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:12
_progress @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:13
h @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:12
load (async)
_insert @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:12
execute @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:12
_next @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:12
_load @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:12
js @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:12
_insert @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:17
(anonymous) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:17
_continue @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:17
insert @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:17
_use @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9
use @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9
(anonymous) @ modedit.php:556
_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:40
notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:40
_notify @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:39
_procSubs @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:39
fireSimple @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:39
_fire @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:39
fire @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:40
_load @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:115
o @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:115
load (async)
g @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:8
(anonymous) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:116
YUI.add.requires @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:116
_attach @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9
_attach @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:8
_use @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9
use @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:9
(anonymous) @ yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1543857273/mcore-min.js:567

Thank you for your attention!

BV52's picture

Hi Gabriel,

Thank you for the update. The 2nd H5P conference is happening this week. Replies from the core team may take longer than usual and I'm sorry for the inconvenience.

-BV52

icc's picture

Oh, it looks like we may have messed up the version check that was added to avoid the code triggering twice for newer versions(causing other problems). The root of the problem was some new stuff introduced into Moodle in 06cdda4. But it doesn't look like this was included until 3.3, yet for some reason, we used the 3.2 build version in the check. I will have to double check but it looks like it may have been just a copy&paste accident.

Could you try modifying this line in your mod/hvp/mod_form.php file to use the build number of 3.3 instead: 2017051500
This should hit your version and fix the issue for you as well.

Again, thank you!