I can't find any references to this anywhere so I'm hoping someone here can try to explain ro give a hint of what's failing.
I upgraded from 2.6 to 3.0, and then I get the following error when I access enrolment method in a course (dev. debug turned on):
Enrolment methods
Error code: generalexceptionmessage
- line 234 of /enrol/instances.php: Error thrown
if ($canconfig) {
// up/down link
$updown = '';
if ($updowncount > 1) {
$aurl = new moodle_url($url, array('action'=>'up', 'instance'=>$instance->id));
$updown[] = $OUTPUT->action_icon($aurl, new pix_icon('t/up', $strup, 'core', array('class' => 'iconsmall')));
} else {
$updown[] = html_writer::empty_tag('img', array('src'=>$OUTPUT->pix_url('spacer'), 'alt'=>'', 'class'=>'iconsmall'));
I do have one third party enrolment plugin installed (with their latest code that's 3.0 compatible). Disabling their plugin doesn't make any difference. I haven't uninstalled it because there's a lot of enrolment/student history tied to it.
So, anyone know what could be coming in on one of those variables that'd be bombing that line? Any clues are appreciated.