Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions

JS Error - Frontend FileUpload


2 Posts   228 Views


24 April 2014 at 12:11pm Community Member, 8 Posts

I have an UploadField in the frontend that is returning

Uncaught TypeError: Cannot call method '_adjustMaxNumberOfFiles' of undefined

Whenever I try and upload a file.

This seems to be an issue with the third party fileupload framework. I'm running the latest build of silverstripe and the frontend file upload is pretty standard. Is this issue with me or a bug in Silverstripe?


24 April 2014 at 2:52pm Community Member, 8 Posts

Solved - Issue only occurs when blocking the default jquery-ui and using a newer version. So something funny about jquery-ui 1.10.4 doesn't play nice with the old version of fileupload.js