4 posts / 0 new
Last post
Dimitar Parvanov
Offline
Last seen: 1 year 8 months ago
Joined: 05/15/2014
The website encountered an unexpected error. Please try again later.

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

axel
Offline
Last seen: 6 days 10 hours ago
Staff
Joined: 09/25/2013
Hi,

Hi,

What version of Opigno are you using ?

What version of PHP and MySQL are you using on your server?

Dimitar Parvanov
Offline
Last seen: 1 year 8 months ago
Joined: 05/15/2014
PHP is set to 5.6

PHP is set to 5.6 Options on shared hosting are: PHP 5.2, PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6, PHP 7.0, PHP 7.1

MySQL is 5.5.52-cll - MySQL Community Server (GPL)

Opigno LMS Core is a vesion 7.11

axel
Offline
Last seen: 6 days 10 hours ago
Staff
Joined: 09/25/2013
Hi

Hi

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.