Hi,

Just installed the 6.x-1.3 version of the multiselect module with Drupal Core V6.10. I'm using it to multiselect items from a list created by a node reference field which in turn references a view.

Originally the content type widget was set to a select list and when I changed it to a multiselect the error:
warning: Invalid argument supplied for foreach() in \modules\multi select\multiselect.module on line 163 appeared.

I have a couple of nodes created by this content type when it was previously using a select list - so not sure if it was the change of widget type with previously created data that caused the error.

However, the error message hasn't appeared again plus when a node is created via this content type the multiselect has sent the correct data to be displayed when the page is being viewed.

Just wondered if the error is something I should be worried about?

Thank you for your time.

Comments

mufty’s picture

I have the same problem.

attheshow’s picture

Version: 6.x-1.3 » 6.x-1.x-dev
Assigned: Unassigned » attheshow
Status: Active » Fixed

The foreach issue is fixed in the development release if you want to download and try that out. You might also want to double-check the fields that you were having issues with and make sure that you're allowing multiple fields to be selected. I only saw this error occur when my Multiselect field was limited to a single selection (kind of defeats the purpose of using the module).

mufty’s picture

The latest dev release works fine for me.
Thanks for great module!

Status: Fixed » Closed (fixed)

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