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

Textformatter may generate PHP warnings if user is not fully initialized in PHP 8.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.9-RC1
    • 3.3.8
    • None
    • None
    • PHP 8.1.11
      phpBB 3.3.8

      One of my boards running phpBB 3.3.8 was recently updated to use PHP 8.1 (8.1.11). 

      I'm periodically seeing the following PHP Warning in my error_log:

      [16-Oct-2022 22:01:12 America/Boise] PHP Warning:  Undefined array key "is_bot" in /home2/xxx/public_html/forum/phpbb/textformatter/s9e/renderer.php on line 178
      [16-Oct-2022 22:01:12 America/Boise] PHP Warning:  Undefined array key "is_registered" in /home2/xxx/public_html/forum/phpbb/textformatter/s9e/renderer.php on line 179
      

      It seems to happen a few times a day so I haven't been able to figure out what steps and/or actions trigger it to occur.

            Marc Marc
            P_I P_I
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: