PHP error in Forums

PHP error in Forums

د Ted G لخوا -
د ځوابونو شمیر: 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.

د درجې بندۍ اوسط:  -
In reply to Ted G

Re: PHP error in Forums

د Martin Dougiamas لخوا -
د Core developers انځور د Documentation writers انځور د Moodle HQ انځور د Particularly helpful Moodlers انځور د Plugin developers انځور د Testers انځور
You need to upgrade everything, not just the forum module.
In reply to Martin Dougiamas

Re: PHP error in Forums

د 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?