Can't edit course presentations

Moodle 3.3 - Chrome - Windows 10 desktop

When trying to edit the course presentation, H5P editor keeps on loading, nothing happens.

There's no problem for students to go through the course presentation in H5P but editing gives this error.

Anybody with a solution?

Uncaught SyntaxError: Unexpected number
    at eval (<anonymous>)
    at Object.ns.libraryRequested (h5peditor.js?ver=2017083100:78)
    at Object.success (h5peditor.js?ver=2017083100:134)
    at c (jquery.js?ver=2017083100:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=2017083100:2)
    at k (jquery.js?ver=2017083100:4)
    at XMLHttpRequest.r (jquery.js?ver=2017083100:4)
Content types: 
icc's picture

It appears something is on the server side. Could you check your web server's error_log for any messages?

Also, if you open your browser's console (Ctrl+Shift+J in Chrome), go to the networks tab and filter on 'XHR'. Find the last request and see if it contains any error messages or HTML instead of just data/text.

Hi, we're still experiencing this problem. Users can view course presentations, as a teacher I can modify some content types, but not the course presentation. All content types are up to date. We can't find anything in the logs for a clue.

for extra information

last request, xhr, as asked

icc's picture

Almost got it. It's the request that is two items up, the one that begins with 'ajax.php?contextId='.
You can also filter on that string. There shouldn't be many requests starting with that. 
Clicking it should reveal the error.

Sorry, I don't see an error. See screenshot. Response contains a lot of text. See .txt attachment.

icc's picture

Yes, you're right it looks OK to me… strange! 
Would you be able to give me a login with access to the editor so I could have a look? My e-mail is frode.petterson (at)

Thx for the help. Check your mailbox for the login details please.