I am getting the warning below when I go to the "Post New Forum Topic" below.

* warning: reset() [function.reset]: Passed variable is not an array or object in C:\xampp\htdocs\drupal_testing\sites\all\modules\og_forum\og_forum.module on line 712.
* warning: key() [function.key]: Passed variable is not an array or object in C:\xampp\htdocs\drupal_testing\sites\all\modules\og_forum\og_forum.module on line 713.
* warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in C:\xampp\htdocs\drupal_testing\sites\all\modules\og_forum\og_forum.module on line 714.

Comments

hallman’s picture

I think these are the same lines of code as my problem, "warning: reset() [function.reset]: Passed variable," http://drupal.org/project/issues/63224

The line numbers are different because I'm using the latest development version. Today I tried uninstalling the development version and using version 2.1 instead. I got the same error message, as I remember, with the same line numbers you have. I went back to the development version.

hallman’s picture

It also looks like the same problem as "[SOLVED] Error message when creating a new forum topic," http://drupal.org/node/206064 You might try adding the lines of code recommended in #13.

The lines of code are included in the development version.

Anonymous’s picture

Assigned: Unassigned »
Status: Active » Fixed

@Ryan

Do you think now is a good time to roll an official release from what is currently being used without any reported problems from our development branch ?

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.