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

Fatal error in Extensions catalog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0.0-a1
    • 4.0.0-a1
    • ACP
    • None

      Since upgrading to Composer 2, Extensions catalog throws error:

      Fatal error: Uncaught Error: Call to private method Composer\Repository\ComposerRepository::hasProviders() from scope phpbb\composer\installer in [ROOT]\phpbb\composer\installer.php on line 304

       

      The reason is that ComposerRepository::hasProviders() was made private since Composer 2.

       

      Steps to reproduce:

      Go to ACP/Customize/Extensions catalog, if you don't get the error, go to -> Settings -> choose Minimum stability: dev, save settings and visit Extensions catalog again.

            Marc Marc
            rxu rxu
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: