Moodle

Fatal error on homepage after HEAD upgrade: Call to undefined method admin_setting::admin_setting() in mod/quiz/settingslib.php

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Quiz
  • Labels:
    None
  • Environment:
    Ubuntu 8.04 Hardy Heron, Apache 2.2.8, Postgres v. 8.2.7, PHP 5.2.4, $CFG->debug=true
  • Database:
    PostgreSQL
  • Difficulty:
    Moderate
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

I just upgraded my install of HEAD from version 2.0 dev (Build: 20081230) (2008121701) to 2.0 dev (Build: 20090104) (2008123102)...

After the upgrade, the following error message appears on the home page for the admin:

Fatal error: Call to undefined method admin_setting::admin_setting() in [dirroot]/mod/quiz/settingslib.php on line 23

Activity

Hide
Petr Škoda (skodak) added a comment -

hello,
I fixed that yesterday- sorry.

Show
Petr Škoda (skodak) added a comment - hello, I fixed that yesterday- sorry.
Hide
Tim Hunt added a comment -

(Petr was renaming constructors for PHP file, and must have missed a parent constructor call that was using the old syntax.)

Show
Tim Hunt added a comment - (Petr was renaming constructors for PHP file, and must have missed a parent constructor call that was using the old syntax.)

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: