Hi guys, how are you?
First, sorry for my English, I’m Brazilian and I’m learning English and CakePHP.
So, i have an application and i need upload multiple photos.
For this i use this plugin: GitHub - fm-labs/cakephp-upload: CakePHP Upload Plugin
When uploading the photo, it gives me this error:
if put dd( $this->getRequest()->getData(‘uploadfile’)); i recive this message:
so i can’t understand what’s going on
this is my controller
if ($this->request->is('post')) {
$uploader = new \Upload\Uploader([]);
$uploader->upload($this->getRequest()->getData('uploadfile'));
$result = $uploader->getResult();
}
which then has all the necessary data inside it (see first link above)
My guess would be, that the plugin creator built this with the “old” array behavior mentioned in the first link above which can be set inside your config: