-
Notifications
You must be signed in to change notification settings - Fork 5
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
unexpected '.', expecting ' #38
Comments
I cannot reproduce this error, is there a bigger exception log or do you have the example code you're trying to execute? |
Closed due to no response. |
Sorry had no time to respond. Still got the error! |
Please provide the entire stack trace. |
New error! Fatal error: Uncaught JKetelaar\fut\api\errors\login\MainLogin: Unable to login with unknown response With the following message: Incorrect verification code With error code: 295712 in /home4/tonikuipers/public_html/mydomain.com/src/JKetelaar/fut/api/user/Login.php:396 Stack trace: #0 /home4/tonikuipers/public_html/mydomain.com/src/JKetelaar/fut/api/user/Login.php(98): JKetelaar\fut\api\user\Login->postTwoFactorForm('https://signin....') #1 /home4/tonikuipers/public_html/mydomain.com/src/JKetelaar/fut/api/API.php(123): JKetelaar\fut\api\user\Login->login() #2 /home4/tonikuipers/public_html/mydomain.com/index.php(11): JKetelaar\fut\api\API->login() #3 {main} thrown in /home4/tonikuipers/public_html/mydomain.com/src/JKetelaar/fut/api/user/Login.php on line 396 Update: I received the verification code by mail and used the example form README.md |
The verification code provided is incorrect |
Where should i provide that verification code? |
Within the method that returns the code, as a parameter for the login class. |
So it should be like this?
|
Yes |
Still not working. I'am using this code as my index php.
This is the error.
|
If i try to login with a Backup code it's giving me another error. But the backup code is used in the Customer portal of EA. This is the error.
|
With the following message: Incorrect verification code Seems like either a wrong code or a wrong piece of code. |
I'am trying to use email verification. But now i switched to Authenticator and it's working fine. (still want to use email verification or backupcodes). An other quenstion, how to (echo) display the current amount of coins on the account when i logged in? Could you give me any example? |
The Market class has a method I'll try to use email verification as a test soon, to see if that works properly. |
Thanks! |
I got this error:
Parse error: syntax error, unexpected '.', expecting ')
On this line:
/src/JKetelaar/fut/api/API.php on line 118
How to fix it?
The text was updated successfully, but these errors were encountered: