I'm getting this error when I try to add a new forum:

PHP Fatal error: Cannot use object of type stdClass as array in path/drupal/modules/forum.module on line 400, referer: http://hostname/forum

I'm running PHP5, and I believe this is the same basic bug as http://drupal.org/node/73031. I've applied a similar fix as outlined in those patches, and it works for me, so I'm attaching a patch for this issue.

CommentFileSizeAuthor
forum.module_18.patch505 bytesKris Jenkins

Comments

webchick’s picture

Thanks for the report.

Would you be able to try this with the forum.module from the Drupal 4.7.x-dev tarball and see if you still get the same results? That will tell us if it's been fixed in CVS since 4.7.4 and, if so, will be fixed in 4.7.5.

heine’s picture

Status: Needs review » Closed (won't fix)

The context shown in the patch is not present in the 4.7.x versions of forum module. If you find it's origin, please update the issue status and project.