[eluser]mikedfunk[/eluser]
In the Form Validation class I can do this:
Code:
$errors = $this->form_validation->getErrorsArray();
but that doesn't work in the File Upload class, I get a fatal error.
How can I get an array of the errors in the File Upload class? $this->upload->display_errors() is a string and I haven't been able to convert it to JSON because of the key for each error.