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

Log searches error due to plural arrays in language files

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev, 3.1.0-b2
    • Fix Version/s: 3.1.0-b3
    • Component/s: ACP, Language pack, Search
    • Labels:
      None

      Description

      Because of plural arrays in language files, the search function in the ACP logs now error notice, because preg_match is sometimes given one of these arrays, when it can only take strings as arguments.

      [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/log/log.php on line 646: preg_match() expects parameter 2 to be string, array given

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            nickvergessen Joas Schilling
            Reporter:
            VSE Matt Friedman
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development