Error when selecting "Hide Summary Slide"

I'm using Drupal v7 and when using "Course presentation", if I select "Hide Summary Slide" I receive the following error:

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '146-1-editor' for key 'PRIMARY': INSERT INTO {h5p_nodes_libraries} (content_id, library_id, dependency_type, drop_css, weight) SELECT :toId, hnl.library_id, hnl.dependency_type, hnl.drop_css, hnl.weight FROM {h5p_nodes_libraries} hnl WHERE hnl.content_id = :fromId; Array ( [:toId] => 146 [:fromId] => 142 ) in H5PDrupal->copyLibraryUsage() (line 619 of /var/www/html/sites/all/modules/h5p/

Any help appreciated.

BV52's picture

Hi skshed,

In order to give your bug report the best chance of getting answered, please include the following information:

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
  2. Platform and version number. E.g. Drupal, Wordpress, Moodle.
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Any browser console errors
  8. Any PHP errors
  9. Screenshots if it's a visual problem

The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!