I have UserDefinedForms installed and calling it in my Template with $Form
It was working. I know I tested the form. Now it's not. I reuploaded the entire userforms folder and rebuilt with /dev/build/?flush=1
Still not working.
I get the error:
[Warning] Missing argument 1 for ViewableData::getField(), called in D:\sites\drawing-office.com\www.drawing-office.com\web\content\newsite\sapphire\core\ViewableData.php on line 112 and defined
GET /newsite/index.php/contact-us/finished?referrer=http%3A%2F%2Fwww.drawing-office.com%2Fnewsite%2Findex.php%2Fbuilding-applications-and-building-regulations%2F
Line 151 in D:\sites\drawing-office.com\www.drawing-office.com\web\content\newsite\sapphire\core\ViewableData.php
Source
142 return property_exists($this, $field);
143 }
144
145 /**
146 * Get the value of a field on this object. This should be overloaded in child classes.
147 *
148 * @param string $field
149 * @return mixed
150 */
151 public function getField($field) {
152 return $this->$field;
153 }
154
155 /**
156 * Set a field on this object. This should be overloaded in child classes.
What happened?!