PHP error in Forums

PHP error in Forums

per Ted G -
Nombre de respostes: 3

When I setup a new Forum activity and click the link to get into it, I receive the following error:

PHP Fatal error: Call to undefined function: get_user_preferences() in d:\home\hnt10d208\www\virtualschool\mod\forum\view.php on line 179

However, previously created Forums get the following error when the link is clicked:

PHP Fatal error: Call to undefined function: get_user_preferences() in d:\home\hnt10d208\www\virtualschool\mod\forum\discuss.php on line 71

The errors started after I uploaded the latest Forum module. I'm using a hosted Windows 2000 ServerMoodle 1.2 development (2004011700),  and the latest Forum module.

Any ideas what might be wrong and how it can be fixed? I'm going "live" for the very first time in 6 days.

Mitjana de qualificacions: -
En resposta a Ted G

Re: PHP error in Forums

per Martin Dougiamas -
Imatge Core developers Imatge Documentation writers Imatge Moodle HQ Imatge Particularly helpful Moodlers Imatge Plugin developers Imatge Testers
You need to upgrade everything, not just the forum module.
En resposta a Martin Dougiamas

Re: PHP error in Forums

per Ted G -

I should have stated that I upgraded all of the modules and not just the forums the other day. I didn't install the latest Moodle though. Is that the problem?