Parse Error in App.php, Line 32

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

Hi, by changing #32 line inside app.php your problem won;t be solved because through most of code we are using short array syntax. You should push php version for couple of points like prismapixel did (from post you pasted).

Short array syntax is supported as of php 5.4, and for SiteCake, php v5.4 is also minimal version supported, so upgrade your php to minimum 5.4.