Uhm,
related with this, some serious problems have been detected in PHP 5.0.3. One related with the XML parser, doing the "restore" functionality of Moodle practically unusable (see http://bugs.php.net/bug.php?id=31139) and other with the unserialize() function, what is used exactly in the activitynames filter (see http://bugs.php.net/bug.php?id=31169).
Both seem to be closed now so things will be usable again in PHP 5.0.4. For now is highly recommended to avoid 5.0.3 at all!! Downgrade to 5.0.2, I'm using it in my test servers and, although it's slower than 5.0.3 (this is only a personal sensation), it works!!!
Ciao
Hrmm... we're using 4.3.9-2 and I have that exact error in the error log
Perhaps the "News" forum isn't being created and the "modinfo" field is empty? I've created a course, then I've manually cleared the "modinfo" field (it was containing only the news forum) and I've reproduced the warning. This could be checked (empty modinfo) in the filter to avoid such advise.
Ciao
Ciao
I thought the news forum always got created on first view if it wasn't there already?
Your solution would certainly solve the warning, but I was worried it meant an incorrect courseid being passed in or something.
Your solution would certainly solve the warning, but I was worried it meant an incorrect courseid being passed in or something.