Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46800

/enrol/* errors

$
0
0
by jc clarke.  

Not a developer, fiercely trying to recover from an upgrade from 2.6 to 2.6.2 that erased my earlier working theme (essential). I ijust created a child theme based on essential, and have upgraded the database, but I'm getting the following errors. This problem is preventing me from choosing a theme other than the default.

Notice: Trying to get property of non-object in /home/server/public_html/domain/enrol/cohort/settings.php on line 39
Notice: Trying to get property of non-object in /home/server/public_html/domain/enrol/database/settings.php on line 85
Notice: Trying to get property of non-object in /home/server/public_html/domain/enrol/manual/settings.php on line 66
Notice: Trying to get property of non-object in /home/server/public_html/domain/enrol/mnet/settings.php on line 39
Notice: Trying to get property of non-object in /home/server/public_html/domain/enrol/paypal/settings.php on line 69
Notice: Trying to get property of non-object in /home/server/public_html/domain/enrol/self/settings.php on line 82

 

Some of the errors revealed:

Notice: Trying to get property of non-object in /home/server/public_html/domain/enrol/cohort/settings.php on line 39

  >             get_string('defaultrole', 'role'), '', $student->id, $options));


Notice: Trying to get property of non-object in /home/server/public_html/domain/enrol/database/settings.php on line 85

  >         $settings->add(new admin_setting_configselect('enrol_database/defaultrole', get_string('defaultrole', 'enrol_database'), get_string('defaultrole_desc', 'enrol_database'), $student->id, $options));


Notice: Trying to get property of non-object in /home/server/public_html/domain/enrol/manual/settings.php on line 66

  >           get_string('defaultrole', 'role'), '', $student->id, $options));


Notice: Trying to get property of non-object in /home/server/public_html/domain/enrol/mnet/settings.php on line 39

  >           array('value'=>$student->id, 'adv'=>true), $options));

Suggestions please?


Viewing all articles
Browse latest Browse all 46800

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>