Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Cannot create/save multiple choice questions!

  • ivanoooooo
  • ivanoooooo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago - 1 year 1 month ago #250996 by ivanoooooo
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.2.10+231004 
Own server or LimeSurvey hosting: Own server
Survey theme/template: fruity_twentythree
==================


Just updated to LimeSurvey Community Edition Version 6.2.10+231004 using the update tool. No errors. Now when creating a multi choice question and then trying to save it I get this error:

500: Internal Server Error in_array(): Argument #2 ($haystack) must be of type array, null given

Used to work in the previous version.
Last edit: 1 year 1 month ago by ivanoooooo.

Please Log in to join the conversation.

More
1 year 1 month ago #250998 by jbarrouillet
Replied by jbarrouillet on topic Cannot create/save multiple choice questions!
I've got the same issue !!!! Help dev members !!!! ;-)

Please Log in to join the conversation.

  • ivanoooooo
  • ivanoooooo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago - 1 year 1 month ago #251001 by ivanoooooo
Replied by ivanoooooo on topic Cannot create/save multiple choice questions!
As a workaround. If you already have an existing multi choice question, then you can just duplicate it. That seems to work.

Seems to also be the same for array type of questions.

Oh, I am using PHP 8.1, maybe that has something to do with it?
Last edit: 1 year 1 month ago by ivanoooooo.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago #251002 by tpartner
Replied by tpartner on topic Cannot create/save multiple choice questions!
Please file a bug report - bugs.limesurvey.org/

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • ivanoooooo
  • ivanoooooo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #251003 by ivanoooooo
Replied by ivanoooooo on topic Cannot create/save multiple choice questions!
Seems to already be there: bugs.limesurvey.org/view.php?id=19152

Please Log in to join the conversation.

More
1 year 1 month ago #251007 by jbarrouillet
Replied by jbarrouillet on topic Cannot create/save multiple choice questions!
It's done.
And an answer was given.

bugs.limesurvey.org/view.php?id=19152#c77541

"This is a bug that was fixed shortly after the last release".

Version 6.2.11 is expected now ! :-)

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose