The Zend_Form_File is generating an error: Warning: Exception caught by form: Method getImageValue does not exist Stack Trace: #0 /var/www/vhosts/mp3.al/library/Zend/Form/Decorator/Image.php(137): Zend_Form_Element->__call('getImageValue', Array) #1 /var/www/vhosts/mydomain.al/library/Zend/Form/Decorator/Image.php(137): Zend_Form_Element_Text->getImageValue() #2 /var/www/vhosts/mp3.al/library/Zend/Form/Element.php(2020): Zend_Form_Decorator_Image->render('?
Not quite sure why is there a getImageValue there, I am not validating an image! Could this be a bug?
; Form Decorators
decorators.elements.decorator = "FormElements"
decorators.table.decorator = "HtmlTag"
decorators.table.options.tag = "table"
decorators.form.decorator = "Form"
action= "/en/user/profile"
method= "post"
id="profile"
elements.real_name.type = "text"
elements.real_name.options.validators.alnum.validator= "alnum"
elements.real_name.options.validators.regex.validator= "regex"
elements.real_name.options.validators.regex.options.pattern= "/^[a-z]/i"
elements.real_name.options.label = "Your real name:"
elements.real_name.options.filters.trim.filter = "StringTrim"
elements.location.type = "text"
elements.location.options.validators.alnum.validator= "alnum"
elements.location.options.validators.regex.validator= "regex"
elements.location.options.validators.regex.options.pattern= "/^[a-z]/i"
elements.location.options.label = "Location"
elements.location.options.filters.trim.filter = "StringTrim"
elements.aboutme.type = "textarea"
elements.aboutme.options.validators.alnum.validator= "alnum"
elements.aboutme.options.cols= 50
elements.aboutme.options.rows= 15
elements.aboutme.options.label = "About me"
elements.aboutme.options.filters.trim.filter = "StringTrim"
elements.website.type = "text"
elements.website.options.validators.alnum.validator= "alnum"
elements.website.options.validators.regex.validator= "regex"
elements.website.options.validators.regex.options.pattern= "/^[a-z]/i"
elements.website.options.label = "Website"
elements.website.options.filters.trim.filter = "StringTrim"
**elements.image.type = "file"
elements.image.options.label = "Avatar"
elements.image.options.required = false**
elements.submit.type= "submit"
elements.submit.options.class= "submit"
elements.submit.options.label = "Submit"
elementDecorators.viewHelper = "ViewHelper"
elementDecorators.errors.decorator = "Errors"
elementDecorators.errors.options.class = "error"
elementDecorators.tableData.decorator.td = "HtmlTag"
elementDecorators.tableData.options.tag = "td"
elementDecorators.tableData.options.class = "test2"
elementDecorators.tableData.decorator.td = "Image"
elementDecorators.tableData.options.tag = "div"
elementDecorators.label.decorator = "Label"
elementDecorators.label.options.tag = "td"
elementDecorators.tableRow.decorator.tr = "HtmlTag"
elementDecorators.tableRow.options.tag = "tr"ode here