I get the following error when I click on the list of Projects in a category:

warning: array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in C:\xampp\xampp\htdocs\drupal-4.7.2\modules\project\project.module on line 584.

This is happening in the project_page_overview() function.

It happens in all category views, even those that are empty (only one project was created). I deleted it and I still get the same error. I believe it has to do with the fact that there are no releases created (yet). If I disable "Unmoderate projects with releases" option in the Project Setting, I no longer get the error message.

Comments

bjvetter’s picture

More screwy behavior. After I disabled the unmoderated release feature, I deleted the project I had created earlier. I then created a new one. It creates just fine, but it does not show up in the category I selected. In fact, it doesn't show up in any categories. It only shows up in "My Projects".

So I go and re-enable the unmoderated release feature and try it again. Still doesn't show up in any categories. I add a release. Still doesn't show up in any categories.

If I go to My Projects, I can edit the project node and can change the category again, but it still doesn't do anything when browsing the categories (although I see the node association change in the tables in the DB).

bjvetter’s picture

Status: Active » Closed (fixed)

I can no longer reproduce this problem. It was exacerbated by the variable cache for the project's taxonomy - the original taxonomy was deleted and a new one was created and assigned to the project node type. Once this variable was deleted/changed, I have yet to have any problems - so I'm closing it.