Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16799

OAuth external account linking triggers fatal error on PHP 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.4
    • Fix Version/s: 3.3.5-RC1
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      PHP 8.0.0

      Description

      After setting OAuth keys, attempting to link external account via OAuth (either through UCP or while registering) causes PHP fatal error:
      Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, phpbb\di\service_collection given in [ROOT]\phpbb\auth\provider\oauth\oauth.php on line 455
      TypeError: array_key_exists(): Argument #2 ($array) must be of type array, phpbb\di\service_collection given in [ROOT]\phpbb\auth\provider\oauth\oauth.php on line 455

        Attachments

          Activity

            People

            Assignee:
            Marc Marc
            Reporter:
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: