I started getting this error when displaying views which include the field that's using the select_or_other input widget.
I traced into the code and figured out that it's not dealing gracefully with a set of Available Options where some of them DO and some of them DON'T include a | (for key|value). In my case, the last line was blank. The work-around is to either include a | in every line, or in none of the lines.

Comments

legolasbo’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

I am unable to reproduce this issue
Please provide detailed steps to reproduce it and reopen the issue if this is still a problem.

claudio.rossini@rarolab.it’s picture

I resolved deleting empty new lines into the "Available options" field

legolasbo’s picture

Status: Closed (cannot reproduce) » Active

I haven't tried using an empty line in the options field. Setting to active so i won't forget to test this when I've got the time.

legolasbo’s picture

Status: Active » Closed (duplicate)