Moodle
  1. Moodle
  2. MDL-29423

Deprecated: Assigning the return value of new by reference is deprecated

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.13
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
    • Database:
      MySQL
    • Workaround:
      Hide

      in \moodle\course\modedit.php on line 187
      remove the "&"

      Show
      in \moodle\course\modedit.php on line 187 remove the "&"
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      18932

      Description

      When creating a new Activity in moodle 1.9 with debug mode ON, we are getting this error warning:
      Deprecated: Assigning the return value of new by reference is deprecated in \moodle\course\modedit.php on line 187

        Activity

        Hide
        Ray Lawrence added a comment -

        Same here Moodle 1.9.13+ (Build: 20111007)

        PHP 5.3.6

        Show
        Ray Lawrence added a comment - Same here Moodle 1.9.13+ (Build: 20111007) PHP 5.3.6
        Hide
        Petr Škoda added a comment -

        Hello, Moodle 1.9.x was not designed to be compatible with PHP 5.3, we fixed only critical issues that were breaking it. Please disable all notices and warnings in your installation and try to consider upgrading to Moodle 2.2.

        Petr

        Show
        Petr Škoda added a comment - Hello, Moodle 1.9.x was not designed to be compatible with PHP 5.3, we fixed only critical issues that were breaking it. Please disable all notices and warnings in your installation and try to consider upgrading to Moodle 2.2. Petr
        Hide
        Joseph Rézeau added a comment -

        OK, thanks for the info, Petr
        Joseph

        Show
        Joseph Rézeau added a comment - OK, thanks for the info, Petr Joseph

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: