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

PHP Parse error: syntax error, unexpected '?' #2

Open
psolutions-me opened this issue Nov 25, 2017 · 1 comment
Open

PHP Parse error: syntax error, unexpected '?' #2

psolutions-me opened this issue Nov 25, 2017 · 1 comment

Comments

@psolutions-me
Copy link

What is wrong there?

Site is using SSL.

PHP Parse error:  syntax error, unexpected '?' in /var/www/vhosts/domain.com/magento/warm.php on line 7
root@h2429614:/var/www/vhosts/domain.com/magento#
@DominicWatts
Copy link

I stumbled across this script today. Surprised no one replied.

It's the version of php you are / were running. Syntax used is php7 +

https://github.com/DominicWatts/async-cache-warmer/runs/499291396?check_suite_focus=true

  7 | ERROR | null coalescing operator (??) is not present in PHP
    |       | version 5.6 or earlier

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

No branches or pull requests

2 participants