Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76088

Blockslib uses static cache incorrectly, changes behavior under PHP 8.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1.1
    • 4.0.4, 4.1.1
    • Blocks

      RFC https://wiki.php.net/rfc/static_variable_inheritance - static variable defined in a parent class has the same value across all chilren

      similar issue - MDL-73420

      In this particular case cache is not even saving anything, so I just removed it

        1. (I) 1 Passed -- (401)MDL-76088.png
          115 kB
          Kim Jared Lucas
        2. (I) 1 Passed -- (master)MDL-76088.png
          160 kB
          Kim Jared Lucas

            marina Marina Glancy
            marina Marina Glancy
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Andrew Lyons Andrew Lyons
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 47 minutes
                3h 47m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.