Whoops! There was an error 2014-10-26 01-58-48.png

May be need add

if(!isset($field['type'])) $field['type'] = 'text';
Answered by Jason Varga! Go to answer.