-
Notifications
You must be signed in to change notification settings - Fork 260
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
syntax error with v2.5.0 #358
Comments
Which PHP version do you use? |
@mpociot sorry, I forgot to add that info, I just updated the first post.
|
Same problem: after:
|
Same for me:
|
Same issue with PHP 8.0.25 |
Same
|
Also got this on PHP 8.0.x after updating. I've gone back to Expose 2.4.x now and while I'm not getting an error, I'm also not getting any kind of output or a server at all at time of writing, but I guess that's a separate issue...
|
Same issue for me. Does anyone found a solution yet? |
This worked out for me well but as soon as I update PHP from 8.0.X to 8.1.X this won't work out anymore because expose 2.4.X needs a lower php version then 8.1.X |
"yes":
:-) |
But then you won't have the latest version of expose. So yes like this it works but is still a kind of workaround. :( |
Oh, https://github.com/beyondcode/expose/blob/2.4.0/composer.json#L19 👎 So you can:
|
Having this issue with the hosted version as well, using php 8.0.27, not because I want to, but have to because of other dependencies |
So the main problem is that, while all the dependencies of Expose are backward compatible with PHP 8.0, the bundled PHAR file in 2.5.0 does not work with PHP 8.0 as it was bundled using PHP 8.2 dependencies. You can manually downgrade your local Expose version to v2.4 like this: |
Hey there, so I tried upgrading to 2.5.0 and then to share one of my local domains, but I am getting this error:
Here is info on php on my machine:
So what I did was I downgraded to 2.4.0 and then it worked:
Then I tried upgrading again to 2.5.0 and running expose but it failed again:
The text was updated successfully, but these errors were encountered: