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

Wrong parameters for Exception in phpbb/file_downloader.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 3.1.3-RC1
    • 3.1.2
    • None
    • None

      Fatal error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in E:\phpBB\Ascraeus\phpBB\phpbb\file_downloader.php on line 72

      To reproduce just change the filename in the version helper to something invalid (ver.json) and refresh the version check. The problem is we pass an array:

      throw new \RuntimeException(array('FILE_NOT_FOUND', $filename));

            Unassigned Unassigned
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: