Hi, 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
What version of Opigno are you using ?
What version of PHP and MySQL are you using on your server?
In reply to Hi, by axel
PHP is set to 5.6
Your should try upgrading Opigno, you are using an old version.
Current version is 7.25 (and 7.26 should be released today).
This will probably fix your issue.