lcollong
FabriKant d'applications web
Hello,
Using a fileupload element with ajax upload inside a repeat group trigger an error on form save in the following condition :
On the first repeated group, do not upload any file
create a second group and on this one upload a file then save the form.
I get the following error :
Key parameter are :
upload directory : /images/cymind/etapes/{$my->id}/
no thumnails, no crop
Max number of files to upload : 4
I have done a github update from a master branch zip and ftp transfer on a regular F4 install but it does not change
Using J 4.4.0
Regards,
Laurent
Using a fileupload element with ajax upload inside a repeat group trigger an error on form save in the following condition :
On the first repeated group, do not upload any file
create a second group and on this one upload a file then save the form.
I get the following error :
Code:
0
Cannot access offset of type string on string
Call stack
# Function Location
1 () JROOT/plugins/fabrik_element/fileupload/fileupload.php:1293
2 PlgFabrik_ElementFileupload->processAjaxUploads() JROOT/plugins/fabrik_element/fileupload/fileupload.php:1719
3 PlgFabrik_ElementFileupload->shouldDoNonAjaxUpload() JROOT/plugins/fabrik_element/fileupload/fileupload.php:1768
4 PlgFabrik_ElementFileupload->processUpload() JROOT/libraries/fabrik/fabrik/fabrik/Helpers/Uploader.php:75
5 Fabrik\Helpers\Uploader->upload() JROOT/components/com_fabrik/models/form.php:1358
6 FabrikFEModelForm->_doUpload() JROOT/components/com_fabrik/models/form.php:1278
7 FabrikFEModelForm->process() JROOT/components/com_fabrik/controllers/form.php:323
8 FabrikControllerForm->process() JROOT/libraries/src/MVC/Controller/BaseController.php:693
9 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_fabrik/fabrik.php:200
10 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
13 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
14 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
15 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
16 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
17 require_once() JROOT/index.php:32
Key parameter are :
upload directory : /images/cymind/etapes/{$my->id}/
no thumnails, no crop
Max number of files to upload : 4
I have done a github update from a master branch zip and ftp transfer on a regular F4 install but it does not change
Using J 4.4.0
Regards,
Laurent