0
Welcome Guest! Login
0 items Join Now

Call to undefined method stdClass::getFieldset()

    • jSIXk's Avatar
    • jSIXk
    • Newbie
    • Posts: 15
    • Thanks: 4

    Call to undefined method stdClass::getFieldset()

    Posted 12 years 7 months ago
    • i get this:
      Call to undefined method stdClass::getFieldset() in [path]/modules/mod_configurator/helper.php on line 30

      here's my relevant code:
      $form = GantryForm::getInstance($formControl, $formName, $pathToMyXMLFile);
      $fieldSets = $form->getFieldsets();
      $fieldSet = $fieldSets['myFieldSet']->getFieldset(); /* <- line 30 */

      what am i doing wrong here? gettype returns a type object on $fieldSets. i assume that's the fieldset object implied by the $this-> context in gantryform.class.php.

Time to create page: 0.042 seconds