"move products" doesn't work

Project: 
Ubercart
Category: 
bug report
Priority: 
normal
Status: 
active

admin/store/products/categories
5.x-1.0-alpha7b

I select a product, 'select' -> I select a destination category, and I get:
"warning: array_unique() [function.array-unique]: The argument should be an array in y:\home\cdi\www\modules\ubercart\uc_catalog\uc_catalog.module on line 400."

In firefox2.0.0.4

In Opera9 no errors, but product just doesn't move when I press 'move', just page reload -> and no effect.

Re: "move products" doesn't work

What happens in alpha 7c? I'm specifically looking for the line the error occurs on, because I'm sure it'll be different.

alpha 8: the same

I am getting the same error with alpha 8. Vocabulary used isn't freetagging, single hierarchy, isn't multiple select.

The message is:

warning: array_unique() [function.array-unique]: The argument should be an array in /var/usr/local/apache2/htdocs/.../sites/......com.au/modules/ubercart/uc_catalog/uc_catalog.module on line 530.

when moving product to another term.

Re: alpha 8: the same

It's because I assumed that the vocabulary would be multiple-select. That function was originally built for the catalog, so the assumption made sense at the time. Now that I know the reason for it, I know how to fix it.

Fixed

Thank you Lyle. Making the catalog "Multiple Select" fixed the issue. You're the best.

Re: Re: alpha 8: the same

@Lyle: you mentioned you know how to fix it... did it actually get fixed? Eye-wink