Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FatalErrorException in SetupController.php line 101: syntax error, unexpected '[' #264

Closed
solreeper opened this issue Dec 8, 2016 · 1 comment · Fixed by #266
Closed
Labels

Comments

@solreeper
Copy link

Using Ubuntu 14.04, PHP 5.5.9

Instead of the expected setup page I receive the following error: FatalErrorException in SetupController.php line 101: syntax error, unexpected '['

@cydrobolt cydrobolt added the bug label Dec 9, 2016
@cydrobolt
Copy link
Owner

cydrobolt commented Dec 9, 2016

This bug affects PHP version 5.5.9, which does not support arrays in constants. This can be solved by turning the constant into a public static variable instead of a const.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants