Moodle

Backup problems - Fatal error on /question/backuplib.php (line 153)

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.6.2, 1.6.3
  • Fix Version/s: None
  • Component/s: Backup, Questions
  • Labels:
    None

Description

This is imported from Moodle Forums.

There's two bug reports at Using Moodle and Finnish Moodle. First one is in 1.6.3, second in 1.6.2. In both there's fatal error at manual course backup, see following backup log:
.....
Metacourse
Blocks
Sections
Writing users info. . . . . . . .
Writing categories and questions
Fatal error: Call to a member function backup() on a non-object in C:\Program Files\xampp\htdocs\question\backuplib.php on line 153

At line 153:
// Backup question type specific data
$status = $QTYPES[$question->qtype]>backup($bf,$preferences,$question>id);

Activity

Hide
Tim Hunt added a comment -

This looks like there is a question in your database where the 'questiontype' column is set to something that is not a recognised question type. Can you confirm whether that is the case?

Show
Tim Hunt added a comment - This looks like there is a question in your database where the 'questiontype' column is set to something that is not a recognised question type. Can you confirm whether that is the case?
Hide
Jani Lemmetyinen added a comment -

Hi,

please check these original reports at Moodle forums (URLs above). I have already answer there that these people should check tracker and contact you via Moodle forums

BR,

  • Jani -
Show
Jani Lemmetyinen added a comment - Hi, please check these original reports at Moodle forums (URLs above). I have already answer there that these people should check tracker and contact you via Moodle forums BR,
  • Jani -
Hide
Tim Hunt added a comment -

Please can you give me the URLs of those particular discussions.

Show
Tim Hunt added a comment - Please can you give me the URLs of those particular discussions.
Hide
Jani Lemmetyinen added a comment -

Hi,

here's first one by Nadire Cavus: http://moodle.org/mod/forum/discuss.php?d=57637

and second one by Hannu Mattila from Finnish Moodle: http://moodle.org/mod/forum/discuss.php?d=57472
(unfortunaly, this forum is in Finnish)

I guess these URL should be seen at URL field in Tracker?

BR,

  • Jani -
Show
Jani Lemmetyinen added a comment - Hi, here's first one by Nadire Cavus: http://moodle.org/mod/forum/discuss.php?d=57637 and second one by Hannu Mattila from Finnish Moodle: http://moodle.org/mod/forum/discuss.php?d=57472 (unfortunaly, this forum is in Finnish) I guess these URL should be seen at URL field in Tracker? BR,
  • Jani -
Hide
Tim Hunt added a comment -

I have not seen this issue when backing up and restoring quizzes. If you can reproduce it, please reopen the bug with specific information.

Show
Tim Hunt added a comment - I have not seen this issue when backing up and restoring quizzes. If you can reproduce it, please reopen the bug with specific information.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: