Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-16799

OAuth external account linking triggers fatal error on PHP 8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.3.5-RC1
    • 3.3.4
    • Authentication
    • None
    • PHP 8.0.0

      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

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

              Created:
              Updated:
              Resolved: