Forum
Possible problem on latest core
Hi,
I downloaded the latest perch version to build a new site and as I went to add my first page, based on a template I got this error
Parse error: syntax error, unexpected '[', expecting ')' in /mydomain/central/core/apps/content/modes/page.edit.pre.php on line 57
I managed to get a page up and when I went to view the page options it came back up. I tried a fresh install of the core folder and it appeared again.
Actually, you may want to check your running the latest version of PHP. This error is expecting an array() but the new shorthand [] was being used.
Updating php will resolve the problem.
Andrew - please post your Diagnostics Report if you would like us to help. Thanks!
Ugh, sorry my bad it was a setting in my MAMP.
Thanks for the reply