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

Need to cast object $place to array to safely assign a new dynamic property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.2
    • 4.2
    • Questions

      While testing MDL-77673 using PHP 8.2, the patch raised a warning "PHP Deprecated: Creation of dynamic property qtype_ddimageortext_drop_zone::$fieldname is deprecated.." in this line.

      Here is the PHPUnit output https://ci.moodle.org/view/Testing/job/DEV.82%20-%20PHP%208.2%20PHPUnit%20-%20master/140/consoleText

            jleyva Juan Leyva
            meirza.arson@moodle.com Meirza
            Meirza Meirza
            Tim Hunt Tim Hunt
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 25 minutes
                2d 25m

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