It's a bummer - I don't have any ideas on this one, nor have I seen it before. The Choice code is not particularly complex, though, so debugging the problem shouldn't be too hard.
There are three tricks I use to solve almost every Moodle problem:
1) Turn on the 'debug' variable in "Configure Variables" - when you try the Choice you might get a new error message that provides a clue.
2) Add this: $db->debug = true; somewhere in the code. This will make all the SQL statements visible on the page.
3) Add lines like: print_object($variable); in the code to get dumps of objects, arrays or plain variables, so you can track what data is going where.
Poll (Choice) Problems
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.