[Solved] Array to string Error while uploading an Image
You study cakephp manual properly HOW form type can be File ?????? 🙂 Use this <?php echo $this->Form->create(‘User’,array(‘enctype’=>’multipart/form-data’)); echo $this->Form->input(‘profile_pic’, array(‘type’=>’file’)); echo $this->Form->end(‘submit’); ?> 5 solved Array to string Error while uploading an Image