punit2502 chocsz Just remove the 'bio' from $fields and it should work fine. in \vendor\league\oauth2-facebook\src\Provider\facebook.php Credit: @KassioKhaleb
martijn-benjamin Is it worth it to create a pull request for this? It's a really small change but it would be nice if it did not come back when i upgrade. Probably 3rd party sources right?
punit2502 martijn-benjamin It would be better informing Admins or Mod about it because if you will create a PR, I think it will be rejected.
andreitelteu I just got the same error on a fresh new installation of flarum beta 6. I opened /vendor/league/oauth2-facebook/src/Provider/Facebook.php and commented the line 111: // backwards compatibility less than 2.8 if ((float) substr($this->graphApiVersion, 1) < 2.8) { //$fields[] = 'bio'; } It works for me now, but this needs to be fixed somehow.
RobertSmith andreitelteu That fix worked for me as well. Fresh install, actually new to Flarum. I just deleted that code-block altogether. Since its not properly detecting version <2.8, anyhow, and adding 'bio' to the fields is the only functionality within that if statement. It needs an update to correctly detect the Graph API version.
andreitelteu KlebersonRomero I think that the package flarum/flarum-ext-auth-facebook needs to update its dependency for league/oauth2-facebook. I don't know what version is needed.
sanwhere i got the same error with 1.07 beta version: OAuthException: (#12) bio field is deprecated for versions v2.8 and higher
sanwhere @luceos there is no bio in the fields section, but below code is. so i just removed this code, and now wsod is shown. if ((float) substr($this->graphApiVersion, 1) < 2.8) { //$fields[] = 'bio'; } edit: my bad, i didnt remove "}" so why i got wsod, thanks anyway.