apereo / phpCAS

Apereo PHP CAS Client
https://apereo.github.io/phpCAS/
Apache License 2.0
795 stars 396 forks source link

Problem in Client.php? #345

Closed yannic7 closed 4 years ago

yannic7 commented 4 years ago

I tried to implement phpCAS on my Laravel website but I always got this error message:

phpCAS error: phpCAS::client(): ErrorException: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in [...]\storage\framework\views\ef35316c5684265941330596ce8ff1324a97c5f8.php on line 19

This error is fixed if you replace "continue;" with "continue 2;" on line 3301 in "Client.php".

jfritschi commented 4 years ago

Which version of phpCAS are you using? Have you looked at the debug log of phpCAS?

https://apereo.atlassian.net/wiki/spaces/CASC/pages/103252650/phpCAS+troubleshooting

Confluence
phy25 commented 4 years ago

Unfortunately I cannot find any continue usage in Client.php in 1.3.x: https://github.com/apereo/phpCAS/blob/1.3.8/source/CAS/Client.php#L3301.

How did you install the library and what is the version you are using? Could you try @jfritschi's suggestion to get debug logs as well?

GitHub
apereo/phpCAS
Apereo PHP CAS Client. Contribute to apereo/phpCAS development by creating an account on GitHub.
jfritschi commented 4 years ago

Closing issue. No activity for 5 month... Please reopen of you can provide more info.