Some content type not loading in the WordPress dashboard

Hi,

Some content types cannot be changed because I cannot load them into the dashboard. Mostly it concerns combined content types like Interactive Video, Course Presentation and (some, not all) Question Sets.

I have turned off all WordPress plugins, but the problem persists.

In the browser console I got the error:

Error while loading script Event
(anonymous) @ h5peditor.js?ver=1.15.0:124

 

and in h5peditor.js line 123-126:

            if (err) {
              console.error('Error while loading script', err);
              return;
            }

Any idea what could be wrong?

I am using

  • WordPress Version 5.5.3 on
  • macOS Big Sur version 11.0.1
  • with Google Chrome Version 87.0.4280.66 (Offizieller Build) (x86_64)

Peter

I found the problem with the help of Oliver Tacke. -> thanks for it. It was related to a special problem with my WordPress installation.

Because I also have the problem that I can't download specially branching scenario.

Hi @jw42,

I don't think that you have the same problem as I had. I could not load any of the content types, not just a specific one. My problem was H5P_mods.

I installed the WordPress plugin H5P_mods and forgot to comment out the sample functions provided with this plugin. One of these example functions ("h5pmods_alter_scripts") tries to load the script "score-tracking.js" But this script is not available and therefore the editor crashes. Deleting this sample script solved my problem.