Closed enviniom closed 4 years ago
You need to load the plugin using $this->addPlugin()
in your Application::bootstrap()
.
I was encountering this issue but only during tests. After some digging I was able to resolve it thanks to #574
https://github.com/FriendsOfCake/cakephp-upload/issues/574#issuecomment-2356797985
Hi. I am using CakePHP 4 and this plugin to upload files. I configured the plugin (V 5.0.0 RC) with the advanced configuration adding a behavior in the table as shown in the docs, as follows
Saving a new record without a file works fine, but when uploading a file I get the error: Unknown type "upload.file" InvalidArgumentException