Wordpress roles can't see H5P content types after WP migration

We migrated our Wordpress site with H5P activities  to a server with PHP7. But since the migration when adding new content, H5P content types are only visible to the admin role, but not to the editor role (see attached screenshot). It was visible to editors before the migration. I have added define('H5P_DISABLE_AGGREGATION', true); to wp-config.php and enabled a PHP log, but there are no browser console or PHP errors.  I can see the JSON file for the H5P.Accordion with content types loaded in the Network tab of the browser console.

What could be the issue? Could it be a permissions issue even though the JSON content is loaded?

 

Attachments: