Loading, please wait...

  Hello,

After the last update (1.16 (2019030700)),  I can not edit or create any H5P content. The feature goes into looping by displaying the message "Loading, please wait".

My version of Moodle is 3.2.1+ (Build: 20170216).

I ran tests on Firefox and Chrome getting the same result.

After updating the plugin, I was unable to perform content upgrade.

I enabled the debugger and no message was displayed on the screen where the error is manifest.

I submit below the javascript error log.

I thank the attention!

 

VM3803 jquery-3.1.0.min.js:1 Uncaught Error: Syntax error, unrecognized expression: #

    at Function.ga.error (VM3803 jquery-3.1.0.min.js:1)

    at ga.tokenize (VM3803 jquery-3.1.0.min.js:1)

    at ga.select (VM3803 jquery-3.1.0.min.js:1)

    at Function.ga [as find] (VM3803 jquery-3.1.0.min.js:1)

    at r.fn.init.find (VM3803 jquery-3.1.0.min.js:1)

    at new r.fn.init (VM3803 jquery-3.1.0.min.js:1)

    at r (VM3803 jquery-3.1.0.min.js:1)

    at c (VM3799 first.js:201)

    at HTMLAnchorElement.<anonymous> (VM3799 first.js:201)

    at Function.each (VM3803 jquery-3.1.0.min.js:1)

ga.error @ VM3803 jquery-3.1.0.min.js:1

ga.tokenize @ VM3803 jquery-3.1.0.min.js:1

ga.select @ VM3803 jquery-3.1.0.min.js:1

ga @ VM3803 jquery-3.1.0.min.js:1

find @ VM3803 jquery-3.1.0.min.js:1

r.fn.init @ VM3803 jquery-3.1.0.min.js:1

r @ VM3803 jquery-3.1.0.min.js:1

c @ VM3799 first.js:201

(anonymous) @ VM3799 first.js:201

each @ VM3803 jquery-3.1.0.min.js:1

each @ VM3803 jquery-3.1.0.min.js:1

b @ VM3799 first.js:201

dispatch @ VM3803 jquery-3.1.0.min.js:1

q.handle @ VM3803 jquery-3.1.0.min.js:1

Navigated to http://ead.mppr.mp.br/course/modedit.php?update=5558&return=0&sr=0

jquery.js?ver=2019030700:2 Allow attribute will take precedence over 'allowfullscreen'.

attr @ jquery.js?ver=2019030700:2

access @ jquery.js?ver=2019030700:2

attr @ jquery.js?ver=2019030700:2

init @ jquery.js?ver=2019030700:2

b @ jquery.js?ver=2019030700:2

ns.Editor @ h5peditor-editor.js?ver=2019030700:20

(anonymous) @ h5peditor-init.js?ver=2019030700:36

dispatch @ jquery.js?ver=2019030700:2

v.handle @ jquery.js?ver=2019030700:2

trigger @ jquery.js?ver=2019030700:2

(anonymous) @ jquery.js?ver=2019030700:3

each @ jquery.js?ver=2019030700:2

each @ jquery.js?ver=2019030700:2

trigger @ jquery.js?ver=2019030700:3

b.fn.(anonymous function) @ jquery.js?ver=2019030700:4

H5PEditor.init @ h5peditor-init.js?ver=2019030700:46

init @ editor.js?ver=2019030700:26

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

ready @ jquery.js?ver=2019030700:2

H @ jquery.js?ver=2019030700:2

h5peditor.js?ver=2019030700:236 Ajax request failed

error @ h5peditor.js?ver=2019030700:236

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

k @ jquery.js?ver=2019030700:4

r @ jquery.js?ver=2019030700:4

XMLHttpRequest.send (async)

send @ jquery.js?ver=2019030700:4

ajax @ jquery.js?ver=2019030700:4

ns.loadLibrary @ h5peditor.js?ver=2019030700:203

ns.LibrarySelector.loadSemantics @ h5peditor-library-selector.js?ver=2019030700:309

librarySelectHandler @ h5peditor-library-selector.js?ver=2019030700:56

ns.SelectorHub.getSelectedLibrary @ h5peditor-selector-hub.js?ver=2019030700:192

loadLibrary @ h5peditor-library-selector.js?ver=2019030700:68

call @ h5p-event-dispatcher.js?ver=2019030700:209

EventDispatcher.trigger @ h5p-event-dispatcher.js?ver=2019030700:240

ns.LibrarySelector.setLibrary @ h5peditor-library-selector.js?ver=2019030700:164

(anonymous) @ h5peditor-editor.js?ver=2019030700:179

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

k @ jquery.js?ver=2019030700:4

r @ jquery.js?ver=2019030700:4

XMLHttpRequest.send (async)

send @ jquery.js?ver=2019030700:4

ajax @ jquery.js?ver=2019030700:4

load @ h5peditor-editor.js?ver=2019030700:148

dispatch @ jquery.js?ver=2019030700:2

v.handle @ jquery.js?ver=2019030700:2

load (async)

add @ jquery.js?ver=2019030700:2

(anonymous) @ jquery.js?ver=2019030700:3

each @ jquery.js?ver=2019030700:2

each @ jquery.js?ver=2019030700:2

on @ jquery.js?ver=2019030700:3

b.fn.(anonymous function) @ jquery.js?ver=2019030700:4

b.fn.load @ jquery.js?ver=2019030700:4

ns.Editor @ h5peditor-editor.js?ver=2019030700:233

(anonymous) @ h5peditor-init.js?ver=2019030700:36

dispatch @ jquery.js?ver=2019030700:2

v.handle @ jquery.js?ver=2019030700:2

trigger @ jquery.js?ver=2019030700:2

(anonymous) @ jquery.js?ver=2019030700:3

each @ jquery.js?ver=2019030700:2

each @ jquery.js?ver=2019030700:2

trigger @ jquery.js?ver=2019030700:3

b.fn.(anonymous function) @ jquery.js?ver=2019030700:4

H5PEditor.init @ h5peditor-init.js?ver=2019030700:46

init @ editor.js?ver=2019030700:26

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

ready @ jquery.js?ver=2019030700:2

H @ jquery.js?ver=2019030700:2

h5peditor.js?ver=2019030700:237 {readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …}

error @ h5peditor.js?ver=2019030700:237

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

k @ jquery.js?ver=2019030700:4

r @ jquery.js?ver=2019030700:4

XMLHttpRequest.send (async)

send @ jquery.js?ver=2019030700:4

ajax @ jquery.js?ver=2019030700:4

ns.loadLibrary @ h5peditor.js?ver=2019030700:203

ns.LibrarySelector.loadSemantics @ h5peditor-library-selector.js?ver=2019030700:309

librarySelectHandler @ h5peditor-library-selector.js?ver=2019030700:56

ns.SelectorHub.getSelectedLibrary @ h5peditor-selector-hub.js?ver=2019030700:192

loadLibrary @ h5peditor-library-selector.js?ver=2019030700:68

call @ h5p-event-dispatcher.js?ver=2019030700:209

EventDispatcher.trigger @ h5p-event-dispatcher.js?ver=2019030700:240

ns.LibrarySelector.setLibrary @ h5peditor-library-selector.js?ver=2019030700:164

(anonymous) @ h5peditor-editor.js?ver=2019030700:179

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

k @ jquery.js?ver=2019030700:4

r @ jquery.js?ver=2019030700:4

XMLHttpRequest.send (async)

send @ jquery.js?ver=2019030700:4

ajax @ jquery.js?ver=2019030700:4

load @ h5peditor-editor.js?ver=2019030700:148

dispatch @ jquery.js?ver=2019030700:2

v.handle @ jquery.js?ver=2019030700:2

load (async)

add @ jquery.js?ver=2019030700:2

(anonymous) @ jquery.js?ver=2019030700:3

each @ jquery.js?ver=2019030700:2

each @ jquery.js?ver=2019030700:2

on @ jquery.js?ver=2019030700:3

b.fn.(anonymous function) @ jquery.js?ver=2019030700:4

b.fn.load @ jquery.js?ver=2019030700:4

ns.Editor @ h5peditor-editor.js?ver=2019030700:233

(anonymous) @ h5peditor-init.js?ver=2019030700:36

dispatch @ jquery.js?ver=2019030700:2

v.handle @ jquery.js?ver=2019030700:2

trigger @ jquery.js?ver=2019030700:2

(anonymous) @ jquery.js?ver=2019030700:3

each @ jquery.js?ver=2019030700:2

each @ jquery.js?ver=2019030700:2

trigger @ jquery.js?ver=2019030700:3

b.fn.(anonymous function) @ jquery.js?ver=2019030700:4

H5PEditor.init @ h5peditor-init.js?ver=2019030700:46

init @ editor.js?ver=2019030700:26

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

ready @ jquery.js?ver=2019030700:2

H @ jquery.js?ver=2019030700:2

h5peditor.js?ver=2019030700:238 parsererror

error @ h5peditor.js?ver=2019030700:238

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

k @ jquery.js?ver=2019030700:4

r @ jquery.js?ver=2019030700:4

XMLHttpRequest.send (async)

send @ jquery.js?ver=2019030700:4

ajax @ jquery.js?ver=2019030700:4

ns.loadLibrary @ h5peditor.js?ver=2019030700:203

ns.LibrarySelector.loadSemantics @ h5peditor-library-selector.js?ver=2019030700:309

librarySelectHandler @ h5peditor-library-selector.js?ver=2019030700:56

ns.SelectorHub.getSelectedLibrary @ h5peditor-selector-hub.js?ver=2019030700:192

loadLibrary @ h5peditor-library-selector.js?ver=2019030700:68

call @ h5p-event-dispatcher.js?ver=2019030700:209

EventDispatcher.trigger @ h5p-event-dispatcher.js?ver=2019030700:240

ns.LibrarySelector.setLibrary @ h5peditor-library-selector.js?ver=2019030700:164

(anonymous) @ h5peditor-editor.js?ver=2019030700:179

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

k @ jquery.js?ver=2019030700:4

r @ jquery.js?ver=2019030700:4

XMLHttpRequest.send (async)

send @ jquery.js?ver=2019030700:4

ajax @ jquery.js?ver=2019030700:4

load @ h5peditor-editor.js?ver=2019030700:148

dispatch @ jquery.js?ver=2019030700:2

v.handle @ jquery.js?ver=2019030700:2

load (async)

add @ jquery.js?ver=2019030700:2

(anonymous) @ jquery.js?ver=2019030700:3

each @ jquery.js?ver=2019030700:2

each @ jquery.js?ver=2019030700:2

on @ jquery.js?ver=2019030700:3

b.fn.(anonymous function) @ jquery.js?ver=2019030700:4

b.fn.load @ jquery.js?ver=2019030700:4

ns.Editor @ h5peditor-editor.js?ver=2019030700:233

(anonymous) @ h5peditor-init.js?ver=2019030700:36

dispatch @ jquery.js?ver=2019030700:2

v.handle @ jquery.js?ver=2019030700:2

trigger @ jquery.js?ver=2019030700:2

(anonymous) @ jquery.js?ver=2019030700:3

each @ jquery.js?ver=2019030700:2

each @ jquery.js?ver=2019030700:2

trigger @ jquery.js?ver=2019030700:3

b.fn.(anonymous function) @ jquery.js?ver=2019030700:4

H5PEditor.init @ h5peditor-init.js?ver=2019030700:46

init @ editor.js?ver=2019030700:26

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

ready @ jquery.js?ver=2019030700:2

H @ jquery.js?ver=2019030700:2

h5peditor.js?ver=2019030700:239 SyntaxError: Unexpected token < in JSON at position 0

    at JSON.parse (<anonymous>)

    at parseJSON (jquery.js?ver=2019030700:2)

    at Fn (jquery.js?ver=2019030700:4)

    at k (jquery.js?ver=2019030700:4)

    at XMLHttpRequest.r (jquery.js?ver=2019030700:4)

error @ h5peditor.js?ver=2019030700:239

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

k @ jquery.js?ver=2019030700:4

r @ jquery.js?ver=2019030700:4

XMLHttpRequest.send (async)

send @ jquery.js?ver=2019030700:4

ajax @ jquery.js?ver=2019030700:4

ns.loadLibrary @ h5peditor.js?ver=2019030700:203

ns.LibrarySelector.loadSemantics @ h5peditor-library-selector.js?ver=2019030700:309

librarySelectHandler @ h5peditor-library-selector.js?ver=2019030700:56

ns.SelectorHub.getSelectedLibrary @ h5peditor-selector-hub.js?ver=2019030700:192

loadLibrary @ h5peditor-library-selector.js?ver=2019030700:68

call @ h5p-event-dispatcher.js?ver=2019030700:209

EventDispatcher.trigger @ h5p-event-dispatcher.js?ver=2019030700:240

ns.LibrarySelector.setLibrary @ h5peditor-library-selector.js?ver=2019030700:164

(anonymous) @ h5peditor-editor.js?ver=2019030700:179

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

k @ jquery.js?ver=2019030700:4

r @ jquery.js?ver=2019030700:4

XMLHttpRequest.send (async)

send @ jquery.js?ver=2019030700:4

ajax @ jquery.js?ver=2019030700:4

load @ h5peditor-editor.js?ver=2019030700:148

dispatch @ jquery.js?ver=2019030700:2

v.handle @ jquery.js?ver=2019030700:2

load (async)

add @ jquery.js?ver=2019030700:2

(anonymous) @ jquery.js?ver=2019030700:3

each @ jquery.js?ver=2019030700:2

each @ jquery.js?ver=2019030700:2

on @ jquery.js?ver=2019030700:3

b.fn.(anonymous function) @ jquery.js?ver=2019030700:4

b.fn.load @ jquery.js?ver=2019030700:4

ns.Editor @ h5peditor-editor.js?ver=2019030700:233

(anonymous) @ h5peditor-init.js?ver=2019030700:36

dispatch @ jquery.js?ver=2019030700:2

v.handle @ jquery.js?ver=2019030700:2

trigger @ jquery.js?ver=2019030700:2

(anonymous) @ jquery.js?ver=2019030700:3

each @ jquery.js?ver=2019030700:2

each @ jquery.js?ver=2019030700:2

trigger @ jquery.js?ver=2019030700:3

b.fn.(anonymous function) @ jquery.js?ver=2019030700:4

H5PEditor.init @ h5peditor-init.js?ver=2019030700:46

init @ editor.js?ver=2019030700:26

c @ jquery.js?ver=2019030700:2

fireWith @ jquery.js?ver=2019030700:2

ready @ jquery.js?ver=2019030700:2

H @ jquery.js?ver=2019030700:2

 

 

Attachments: 
icc's picture

Do you have this error when creating other activities as well? 

It looks like your theme or another plugin are expecting something in the form and crashing when it cannot find it. 
The jquery-3.1.0 crashing is not part of the H5P plugin, most likely part of your theme.