-
Notifications
You must be signed in to change notification settings - Fork 15
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
Beacon failing with internal server error #33
Comments
Hi @pashasiraja Wishing you a happy new year. Sorry to hear you are having difficulty with this. Line 40 contains a "null coalescing operator" that was added in PHP 7.0 and onwards. This suggests your server may be running an incompatible version of PHP. Please check with your service provider on how to ensure that the web server uses PHP 7.4, sometimes it can be customized per website. I hope this helps! |
Hi, I've made sure that the server is running php v7. 4, would you be able
to point at any specific setting / module / extension that I could enable
or check to make it work?
Thanks!
…On Wed, 5 Jan 2022, 00:34 Samuel Georges, ***@***.***> wrote:
Hi @pashasiraja <https://github.com/pashasiraja>
Wishing you a happy new year. Sorry to hear you are having difficulty with
this.
Line 40 contains a "null coalescing operator" that was added in PHP 7.0
and onwards. This suggests your server may be running an incompatible
version of PHP. Please check with your service provider on how to ensure
that the web server uses PHP 7.4, sometimes it can be customized per
website.
I hope this helps!
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSNJ5LSXATIOAIB2OLTDZTUUOGY7ANCNFSM5LHK2RIA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Using this code
The exact error can be reproduced here using PHP 5.6.29:
Notice the error does not occur using PHP 7.0.1:
This confirms that your server is not using PHP 7.4. Please contact your web host for support with switching the version. There is no module, the syntax error comes directly from the PHP version. I'm sorry we can't be of more assistance. Best of luck! |
I've got a simple shared host with a local development environment with OctoberCMS installed.
When I check the beacon it returns this PHP error:
Parse error: syntax error, unexpected '?' in REDACTED/webroot/bootstrap/beacon.php on line 40
PHP 7.4 with https
Can anyone help please?
The text was updated successfully, but these errors were encountered: