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

PHP debug warning while using \phpbb\language\language\lang_array() function

    XMLWordPrintable

    Details

      Description

      See https://www.phpbb.com/community/viewtopic.php?f=661&t=2554881

      [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/language/language.php on line 307: count(): Parameter must be an array or an object that implements Countable

      To reproduce:

      $language->lang_array('BROWSING_FORUM', 'Some users');

       

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: