Unable to author content: H5P, Drupal 8, Docker

Colin D's picture

I am trying to get H5P and Drupal 8 running in a dockerised environment. I have installed H5P and several of the libraries but during the content authoring process I press the 'save' button to submit the form and I get a white screen of death with an 'unexpected error' mesage. It appears as though the ajax callback is not working. When I check my server logs I get error messages such as the following. Does anyone have any ideas how I might solve this issue so I can author content?

2020/08/17 10:22:36 [error] 20#20: *49 FastCGI sent in stderr: "PHP message: Uncaught PHP Exception Drupal\Core\Entity\EntityStorageException: "SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'title' cannot be null: INSERT INTO {node_field_data} (nid, vid, type, langcode, status, uid, title, created, changed, promote, sticky, default_langcode, revision_translation_affected) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12); Array

(

    [:db_insert_placeholder_0] => 10

    [:db_insert_placeholder_1] => 10

    [:db_insert_placeholder_2] => interactive_content

    [:db_insert_placeholder_3] => en

    [:db_insert_placeholder_4] => 1

    [:db_insert_placeholder_5] => 1

    [:db_insert_placeholder_6] => 

    [:db_insert_placeholder_7] => 1597659756

    [:db_insert_placeholder_8] => 1597659756

    [:db_insert_placeholder_9] => 1

    [:db_insert_placeholder_10] => 0

    [:db_insert_placeholder_11] => 1

    [:db_insert_placeholder_12] => 1

)

" at /var/www/html/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php line 847" while reading response header from upstream, client: 128.240.212.41, server: _, request: "POST /node/add/interactive_content HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mysite.dev", referrer: "https://mysite.dev/node/add/interactive_content"