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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.10-RC2, 3.3.1-RC1
    • 3.2.9, 3.3.0
    • Other
    • None

      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');

       

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

              Created:
              Updated:
              Resolved: