 <p>You are trying to upload an array of files, you will not be able to upload more than 20 files due to <a href="http://php.net/manual/en/ini.core.php#ini.sect.file-uploads" rel="nofollow">max_file_uploads</a> limit in <code>php.ini</code> which is by default set to <code>20</code>. </p> <p>So you have to increase this limit to upload more than 20 files.</p> <p><strong>Note</strong>: <code>max_file_uploads</code> can NOT be changed outside php.ini. See <a href="http://bugs.php.net/bug.php?id=50684&amp;edit=1" rel="nofollow">PHP "Bug" #50684</a></p>