Hi,
I've set the division by zero
) dummie forgot) but the error is still here
Call stack :
0 Cannot access empty property
/home/....../preprod/web/form/libraries/fabrik/fabrik/Helpers/ArrayHelper.php:157
Call stack
# Function Location
1 () JROOT/libraries/fabrik/fabrik/Helpers/ArrayHelper.php:157
2 Fabrik\Helpers\ArrayHelper::toObject() JROOT/plugins/fabrik_element/databasejoin/databasejoin.php:2052
3 PlgFabrik_ElementDatabasejoin->getEmailValue() JROOT/components/com_fabrik/models/plugin-form.php:419
4 PlgFabrik_Form->getEmailData() JROOT/components/com_fabrik/models/plugin-form.php:221
5 PlgFabrik_Form->getProcessData() JROOT/plugins/fabrik_form/email/email.php:87
6 PlgFabrik_FormEmail->onAfterProcess() JROOT/components/com_fabrik/models/pluginmanager.php:676
7 FabrikFEModelPluginmanager->runPlugins() JROOT/components/com_fabrik/models/form.php:1303
8 FabrikFEModelForm->process() JROOT/components/com_fabrik/controllers/form.php:313
9 FabrikControllerForm->process() JROOT/libraries/src/MVC/Controller/BaseController.php:710
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_fabrik/fabrik.php:181
11 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
12 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
13 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
14 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
15 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
16 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49
I repeat the form plugins work great in other forms, just this one. As I add a form plugin (redirect, mail, ....) I get this error
For sending mail I use :
One default field with : $user =& JFactory::getUser(); return $user->get('email');
And a calc field with :
$expertId = '{a2s_dossier_expertise___nom_expert_raw}';
$myDb = JFactory::getDbo();
$myQuery = $myDb->getQuery(true);
$myQuery->select('e_mail')->from('a2s_users')->where->where('id = ' . $myDb->quote($expertId));
$myDb->setQuery($myQuery);
return $myDb->loadResult();
{a2s_dossier_expertise___nom_expert_raw}'; :
Databasejoin (a2s_users) with concat label : nom,' - ',pro_firstname,', ',specialite_list
the data are well set in the list.
but the worst is that even with a simple redirect formplugin it doesn't work.
Regards,
Jean-Marc