Please help to solve the error. thanks
ERROR [User Error]: collateDataFields() I noticed that a field called 'Priority' appears twice in your form: 'Form_EditForm'. One is a 'DropdownField' and the other is a 'DropdownField'
IN POST /SilverStripe/admin/getitem?ID=6&ajax=1
Line 140 in C:\xampp\htdocs\SilverStripe\sapphire\forms\CompositeField.php
Source
======
131: if($saveableOnly) {
132: $isIncluded = ($field->hasData() && !$field->isReadonly() && !$field->isDisabled());
133: } else {
134: $isIncluded = ($field->hasData());
135: }
136: if($isIncluded) {
137: $name = $field->Name();
138: if($name) {
139: $formName = (isset($this->form)) ? $this->form->FormName() : '(unknown form)';
* 140: if(isset($list[$name])) user_error("collateDataFields() I noticed that a field called '$name'
appears twice in your form: '{$formName}'. One is a '{$field->class}' and the other is a
'{$list[$name]->class}'", E_USER_ERROR);
141: $list[$name] = $field;
142: }
143: }
144: }
145: }
146: }
Trace
=====
<ul>user_error(collateDataFields() I noticed that a field called 'Priority' appears twice in your form: 'Form_EditForm'. One is a 'DropdownField' and the other is a 'DropdownField',256)
line 140 of CompositeField.php
CompositeField->collateDataFields(Array,)
line 130 of CompositeField.php
CompositeField->collateDataFields(Array,)
line 130 of CompositeField.php
CompositeField->collateDataFields(Array,)
line 66 of FieldSet.php
FieldSet->collateDataFields(Array)
line 50 of FieldSet.php
FieldSet->dataFields()
line 929 of Form.php
Form->loadDataFrom(SlideShowProPage)
line 493 of CMSMain.php
CMSMain->getEditForm(6)
line 1021 of LeftAndMain.php
LeftAndMain->EditForm()
line 382 of LeftAndMain.php
LeftAndMain->getitem(SS_HTTPRequest)
line 193 of Controller.php
Controller->handleAction(SS_HTTPRequest)
line 137 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
line 147 of Controller.php
Controller->handleRequest(SS_HTTPRequest)
line 281 of Director.php
Director::handleRequest(SS_HTTPRequest,Session)
line 124 of Director.php