500 error viewing content after doing latest H5P update
Submitted by slismann on Fri, 01/27/2017 - 03:17
I just updated H5P, and now when users go to view content the screen is blank, and there is a 500 error:
[Fri Jan 27 12:55:02 2017] [error] [client 10.148.74.81] PHP Parse error: syntax error, unexpected '[' in /var/www/html/vhost70/www/sites/all/modules/h5p/library/h5p.classes.php on line 2515, referer: https://h5p.deakin.edu.au/
Line 2515 is
$display_options = ;
The error occurs in versions beyond h5p-7.x-1.22 (which is ok)
Fri, 01/27/2017 - 08:35
Which version are you using?7
Which version are you using?
7.x-1.24 should have fixed this issue.