Enrol Error

Enrol Error

by Lester Stoffels -
Number of replies: 3

I keep on getting this error:


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

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

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

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

Notice: Trying to get property of non-object in /home/theblhix/public_html/enrol/paypal/settings.php on line 69

Notice: Trying to get property of non-object in /home/theblhix/public_html/enrol/self/settings.php on line 82

Average of ratings: -
In reply to Lester Stoffels

Re: Enrol Error

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

And...

which version of Moodle?

what are you doing when that happens?

when did it start (what changed)?

...and so on...

Given that this bit of code is pulling 'student' like roles. Is there any possibility that you have deleted all your student roles?

In reply to Howard Miller

Re: Enrol Error

by Lester Stoffels -

Hello Howard


Thanks for your prompt reply.


I think i have fixed the error. When creating new users ive used their email addresses. Moodle have accepted some of them but didnt like the fact that almost all of them is email addresses as usernames. Ive then changed the usernames to remove the @ in the email. It look like its working now.


Thanks

In reply to Howard Miller

Re: Enrol Error

by Lester Stoffels -

Hello Howard


It happens when i open Filters/Generico/Templates


Im using version 3.2


I cant remember what has changed.


I didnt change student roles. Ive actually added more students. I first made their username their email addresses and it actually accepted it. But later on it was complaining and didnt accept it anymore.


Hope that is clear.


Regards


Regards