by Ken Task.
I might be wrong (not a programmer) but inspecting the file reported in the error
and the line number, in a freshly acquired moodle27 via git,
That line includes something that appears to be commented out!!!????
if ($stage < $currentstage && $currentstage < restore_ui::STAGE_COMPLETE) {
//$item['link'] = new moodle_url($PAGE->url, array('restore'=>$this->get_restoreid(), 'stage'=>$st$
}
What's enclosed between ( and ) appears to be commented out - the // in front of that line.
Wonder what would happen if those comments are removed in that file?
'spirit of thinkering', Ken