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

ReleasePokemonResponse syntax error #31

Closed
paoloalby opened this issue Aug 2, 2016 · 3 comments
Closed

ReleasePokemonResponse syntax error #31

paoloalby opened this issue Aug 2, 2016 · 3 comments

Comments

@paoloalby
Copy link

After few days working on my local server, I tried to upload my project on a web server.
Everything works ok, I can read the player data, the inventory, pokebank.
But when I try to "release" a pokemon, I get an error.
On my local web server not. Only on the version I uploaded online.

Parse error: syntax error, unexpected 'UNSET' (T_UNSET), expecting identifier (T_STRING) in /mydomain.ext/res/POGOProtos/Networking/Responses/ReleasePokemonResponse.php on line 15

Note that the release action it's ok, if I go back to previous page where I list my pokemon, the Pokemon selected has been released succeffully.

But I still get this error that stops the redirecting action.

@Ni42
Copy link
Collaborator

Ni42 commented Aug 2, 2016

Which PHP version do you have on the server? Sounds like the same problem as in #27, class constants need PHP version 5.3.0, but you should really be at 5.6.X anyways.

@NicklasWallgren
Copy link
Owner

Try the latest commit, the keyword "UNSET" is reserved in PHP 5.6.

@Ni42 Thanks for helping out.

@paoloalby
Copy link
Author

Ok, using NONE instead of UNSET it's working now

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

3 participants