Ich hab da ein von euch geschriebenes Plugin...
... trotz anpassung
docs.joomla-5.visforms.vi-solutions.de/d...update-plugins-code/
tut das dinf einfach nicht mehr ..
z.B.
Alt:
public function onVisformsBeforeFormSaveAfterUpload($context, $form, $fields): bool {
// context = 'com_visforms.form.form' (form is send)
// context = 'com_visforms.form.edit' (form data was edited)
return $this->loadUploadFileAndSetFormObjects($context, $form, $fields);
}
Neu:
public function onVisformsBeforeFormSaveAfterUpload(VisformsBeforeFormSaveAfterUploadEvent $event): void {
// context = 'com_visforms.form.form' (form was sent)
// context = 'com_visforms.form.edit' (form data was edited)
$context = $event->getContext();
$form = $event->getForm();
$fields = $event->getFields();
}