Hi, I’m having the exact same issue as Parse Error: syntax error, unexpected ‘[’
I’m trying to figure out where I have to edit the following:
I ran a search through all the files in sitecake and couldn’t find anywhere that says $array?
Ok, I don’t have the sources here, but I can imagine that you use a php version lower than 5.4 and the script uses something like this
$array = [ ‘val1’, ‘val2’ ];
if it is so, you have to change your php version to 5.4+, better 5.6 or 7.
another possibility is to change the code into this:
$array = array( ‘val1’, ‘val2’ );
otherwise please post the code from line 30 to 35 of the app.php