When we try to finish quiz (a.k.a lesson) by clicking Finish button we receive error in white screen: The website encountered an unexpected error. Please try again later.
In logs there only just short description. I see two error descriptions:
1 entry (warning): Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 175 of /home/raabeonl/public_html/includes/entity.inc).
2 entry (error) EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in EntityDrupalWrapper->set() (line 737 of /home/raabeonl/public_html/profiles/opigno_lms/modules/contrib/entity/includes/entity.wrapper.inc).
This is happening on Theory only lessons.
Do you have any information on any other cases and ideas for solution?
Thank you in advance! Dimitar