0

i got an error after OctoberCMS was installed, but i cant figure it out how to fix it.

Parse error: syntax error, unexpected '?' in /var/www/html/..../public_html/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233

Any Idea?

Thanks!

1
  • 2
    Which version of PHP do you use ? Commented Jan 9, 2019 at 16:19

1 Answer 1

1

The sourcecode uses the coalesce operator ?? which is not available in your PHP version.

http://php.net/manual/en/migration70.new-features.php

https://github.com/laravel/framework/

https://github.com/laravel/framework/blob/5.7/composer.json

"require": {
    "php": "^7.1.3",
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.