Forum

Thread tagged as: Error, Runway

Item list column IDs - Undefined error

Hi,

When I try adding my "Region" field (my field is called region, rather than a Perch region) to Item list column IDs, I get the following error when viewing the list:

Notice: Undefined offset: 1 in .../cms/core/lib/PerchFieldTypes.class.php on line 653 Notice: Undefined offset: 1 in .../cms/core/lib/PerchFieldTypes.class.php on line 653 Notice: Undefined offset: 1 in .../cms/core/lib/PerchFieldTypes.class.php on line 653

Any idea what's causing this message? Other fields seem ok.

Thanks,

Rob

Robert Chambers

Robert Chambers 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What type of field is it?

It's a dropdown with three text options.

Drew McLellan

Drew McLellan 2638 points
Perch Support

So type="select" ?

Yes:

<perch:content id="region" type="select" label="Region" options="The Algarve, Lisbon, Madeira" allowempty="false" required="true" />
Drew McLellan

Drew McLellan 2638 points
Perch Support

That should work. I'll look into it.