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

Field 'pf_phpbb_occupation' doesn't have a default value

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 3.3.10
    • 3.3.11
    • Migrations
    • None

    Description

      The field can be different (from set of pf_phpbb_*) depending on the source data for migration. This bug happens due to using static variable in inherited class method and changes in PHP 8.1.0 (https://www.php.net/manual/en/language.variables.scope.php)

      As of PHP 8.1.0, when a method using static variables is inherited (but not overridden), the inherited method will now share static variables with the parent method

      Fix: https://github.com/phpbb/phpbb/pull/6491

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: