I have a content type with 3 fields content_taxonomy (1 in select_list and 2 in active_select mode), their title and body. When I save it for the first time it doesn't save me the content of the 2 fields ct-as and sends me the following error for each field:

# warning: array_keys() [function.array-keys]: The first argument should be an array in 
.../content_taxonomy_activeselect.module on line 264.
# warning: array_values() [function.array-values]: The argument should be an array in 
...content_taxonomy_activeselect.module on line 265.

But if later, I open it, I define those fields again and I save the node again; then stored well.

Comments

armand0’s picture

Status: Active » Closed (fixed)

I already solved it. I only reduced the the module taxonomy's weight (of 1 at -1) so that it ran before. Using the module moduleweight

Fayna’s picture

Status: Closed (fixed) » Active

Sorry to make this issue come alive again, but I'm having the same problem and I don't really see a "fix" for it. I'm not using the module moduleweight, do I need to download it to fix this problem? Is it something I'm configuring wrong?

Here are my exact errors, after I saved a node using content taxonomy, activeselect, and hierarchical select 2.

warning: __clone method called on non-object in /Applications/MAMP/htdocs/drupal/includes/common.inc on line 1385.
warning: array_keys() [function.array-keys]: The first argument should be an array in /Applications/MAMP/htdocs/drupal/sites/all/modules/content_taxonomy/content_taxonomy_activeselect.module on line 264.
warning: array_values() [function.array-values]: The argument should be an array in /Applications/MAMP/htdocs/drupal/sites/all/modules/content_taxonomy/content_taxonomy_activeselect.module on line 265.

I'm hoping someone can help. :(

stevryn’s picture

I installed module weight ... did not help, i still have this same error.

ineation’s picture

Same problem for me.
I did a few experiments and it started going weird (problem when displaying the field) after I put tho different fields each one of them using activeselect taxo.
Then I tried to delete everything (content type and fields) and restart again and now I am having this error message and I am not even able to have one field saved.

I will try uninstall and reinstall the module...

magnus’s picture

Status: Active » Closed (fixed)

Cleanup of old issues. According to maintainer: "active development is only done for the 6.x branch! 5.x is not supported any more".
Open a new issue if problem still exist.