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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.3.8
    • 3.3.9-RC1
    • None
    • None
    • PHP 8.1.11
      phpBB 3.3.8

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: