H5P 1.6 Content Types won't install - Moodle 3.4

*** UPDATE ***
It seems it might be related to the OpCache as I just reset it using the OpCache Management plugin. Now the Multiple Choice type seems active as I can click on the Detials button and choose Use and the content editor is displayed properly. However when I click on the Save and Display button the screen clears and I get an error message saying Exception - Class 'finfo' not found


I just upgraded to H5P version 1.6 this morning and now the content type Install feature doesn't work. 

  1. Upgraded from version 1.5 to 1.6 after checking for new plugin versions. Used Moodle's standard click to upgrade feature. Upgrade installed with no error messages.
  2. Created a new course and added an H5P activity
  3. Filled in Name, Description then clicked on Content type selector; chose Multiple Choice
  4. Since it wasn't installed, clicked the Get button and then  the Install button on the subsequent screen. The Install button dimmed for several seconds then came back again and content type window closed. No content editor was displayed.
  5. Clicked on Save and display and error message was displayed at the Editor line just under the description window You must select a content type.
  6. Repeated steps 1 to 5 selecting a different content type and the same error occured everytime.

I have un-installed and re-installed the plugin several times but the same thing happens everytime. Didn't have any problems with H5P prior to this.

I should mention that I recently upgraded the server from EasyApache 3 to EasyApache 4 and installed OpCache. Running on a hosted VPS running PHP 7.0.25. Screen capture of PHP Info attached.

Any help would be appreciated.



BV52's picture

Hi Derek,

Can you also provide a screenshot of browser error logs in the browser console (Ctrl+shift+J in Chrome).


It turns out the problem was related to a recent upgrade to EasyApache 4 on our server with the OpCache package also installed. Removing the OpCache package solved the problem.

BV52's picture

That's good to hear Derek. If you encounter any other problems or you have any questions feel free to post in the forums.