For my profiles I am using the profile module, profile checkboxes and profile permission.
I have created several roles which have editing permissions for different fields using profile permission.
One of the fields that I have created using the profile module is a multi-select list which I have used profile checkboxes for.
If I log in as one of the roles which does'nt have permission to edit the multi-select field whenever I save the user profile I keep getting the following error messages
"implode() [function.implode]: Invalid arguments passed in /home/histori1/public_html/sites/all/modules/profile_checkboxes/profile_checkboxes.module on line 129." and
"array_filter() [function.array-filter]: The first argument should be an array in /home/histori1/public_html/sites/all/modules/profile_checkboxes/profile_checkboxes.module on line 129."
Any help would be really appreciated
Comments
Comment #1
johnhanley commented@Bob3009,
Sorry for the delayed response.
It's very likely this bug has been fixed in the latest dev release. I would invite you to test and report back.
Thanks,
John
Comment #2
HTF commentedHi John
Many thanks for getting back to me about this, yes the lastest dev release works fine, it is alright to use it on a production site?
Thanks
Bob
Comment #3
johnhanley commented@bob,
I *believe* the dev version is production worthy--it hasn't gotten any attention for awhile. In fact, I hope to create a new release this weekend. It's still not 100% Views compatible (lacks Filter handler), but should be OK otherwise.
I'll update this thread once the new release is available. In the meantime please report back if you encounter any issues.
Thanks,
John
Comment #4
johnhanley commentedFixed in the 6.x-2.0 release.
Comment #5
joshfromdallas commentedI am having a similar problem, I am storing the Employees office location in profiles with a multiselect checkbox. When I select a city or cities, it is adding an array in the table. If I use view to give me a list of users for a city it does not work, but if I go into the table and hack off the array info and just use the cities seperated by a comma it works.
Also if i try to use Views Bulk Editor it has a drop down instead of a check box and it doesn't save the changes either.
I am hacking away trying to find an answer, if anyone finds it before me, please share :)
Comment #6
joshfromdallas commentedFound a patch here:
http://drupal.org/node/1246900
Works great for me.