[SOLVED] Notice: Undefined variable: filesToKeep in (site)

Status
Not open for further replies.
I have a php form plugin at End of form submission.

I get this error
Notice: Undefined variable: filesToKeep in /home/mhd-01/(site)/plugins/fabrik_element/fileupload/fileupload.php on line 1595

It is repeated 3 times, exactly the same

The forms contains 3 fileupload elements.
No error without php form plugin.
I tried the php form plugin containing only
PHP:
$id = $formModel->getElementData('fabrik_table___id');
$id = (int)$id;
 
var_dump($id);
exit;

var_dump() works well: int(28) after the Notice is right.

The message seems due to something about the 3 fileupload elements.

What the message means? Where I wrong?
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top