Just installed this but I am getting errors:
/home/shipsave/public_html/core/components/ajaxupload/model/ajaxupload/ajaxupload.class.php : 305) PHP warning: Invalid argument supplied for foreach()
[2015-08-01 19:25:09] (ERROR @ /home/shipsave/public_html/core/components/ajaxupload/model/ajaxupload/ajaxupload.class.php : 305) PHP warning: Invalid argument supplied for foreach()
The pre hook and hooks code:
[[!FormIt?
&preHooks=`Formit2AjaxUpload`
&hooks=`AjaxUpload2Formit, email`
&ajaxuploadFieldname=`filer`
&ajaxuploadTarget=`assets/uploads/user/`
&ajaxuploadUid=`filer`
&emailFrom=`[email protected]`
&emailTpl=`myEmailChunk`
&emailTo=`[[+demail]]`
&emailCC=`[email protected]`
&emailSubject=`Your Delivery Request Quote`
&validate=`dname:required,
demail:required,
workmail:blank,
province:required,
datepicker:required,
country:required,
package:required,
method:required,
name4:required,
name2:required,
name1:required,
name3:required,
comment:required:stripTags`
]]
The AjaxUpload:
[[!AjaxUpload?
&uid=`filer`
&allowedExtensions=`jpg,jpeg,png,pdf,PDF,DOC,DOCX,XLX,XLSX,doc,docx,xls,xlsx`
&maxFiles=`5`
&maxFilesizeMb=`12`
&thumbX=`75`
&thumbY=`75`
]]
The errors are timed when I click submit.
I receive the email, but, there is no folder created in the user name at `assets/uploads/user/`
I'm kind of hoping someone can understand the error I'm receiving because I'm unsure what I have done wrong.