Advertisement
Guest User

Untitled

a guest
May 23rd, 2011
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. 500 | Internal Server Error | InvalidArgumentException
  2. Widget schema does not include the following field(s): title
  3. stack trace
  4.  
  5. at ()
  6. in SF_ROOT_DIR/lib/vendor/symfony/lib/widget/sfWidgetFormSchema.class.php line 761 ...
  7. if ($diff = array_diff($positions, $current))
  8. {
  9. throw new InvalidArgumentException('Widget schema does not include the following field(s): '.implode(', ', $diff));
  10. }
  11. if ($diff = array_diff($current, $positions))
  12. at sfWidgetFormSchema->setPositions(array('title', 'content'))
  13. in SF_ROOT_DIR/lib/vendor/symfony/lib/form/sfForm.class.php line 1133 ...
  14. if ($ordered)
  15. {
  16. $this->widgetSchema->setPositions(array_merge($fields, $hidden));
  17. }
  18. }
  19. at sfForm->useFields(array('title', 'content'))
  20. in SF_ROOT_DIR/lib/form/brickForm.class.php line 23 ...
  21. $this->widgetSchema->setFormFormatterName('brick');
  22.  
  23. $this->useFields(array('title', 'content'));
  24. }
  25.  
  26. public function getModelName()
  27. at brickForm->configure()
  28. in SF_ROOT_DIR/lib/vendor/symfony/lib/form/sfForm.class.php line 70 ...
  29. $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
  30. $this->setup();
  31. $this->configure();
  32. $this->addCSRFProtection($this->localCSRFSecret);
  33. $this->resetFormFields();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement