Error 500 (PHP) installing RC2 on Ubunti

Digitalbalog
Forums
Hello as I am not used to develop using PHP, please give me some hints to solve this situation: AH01071: Got error 'PHP message: PHP Parse error: syntax error, unexpected '[' in /var/www/vhosts/e-learning-test.de/opigno.e-learning-test.de/modules/contrib/opigno_learning_path/src/Controller/LearningPathStepsController.php on line 463\n', referer: http://opigno.e-learning-test.de/core/install.php?rewrite=ok&profile=op… the related code segment is marked >>> // Skip live meetings and instructor-led trainings. $skip_types = ['Meeting', 'ILT']; for ($next_step_index = $current_step_index + 1; $next_step_index < $count >>> && in_array(($next_step = $steps[$next_step_index])['typology'], $skip_types); ++$next_step_index) { $is_mandatory = $next_step['mandatory'] === 1; // unquote thank you in advance Edwin
Digitalbalog

PHP version is 5.5.9

just this
James Aparicio

Hi Digitalbalog,

Hi Digitalbalog,

 

Yes, its an issue with versions of php older than 7.

We are aware and will fix it for next release so its compatible with the older versions of php.

 

Best regards