mvilela
Member
Joomla 4.3.3, FabriK 4.0 delta 3, PHP 8.1
XAMPP for Windows 8.1.17
Sending an email onDeleteRows
I always get the error: 0 Call to a member function get() on null
I'm using the code I collected from the Wiki
$data = $model->getData();
foreach ($data as $group) {
foreach ($group as $row) {
FabrikWorker::sendMail(
$this->config->get('asespedal@asespedal.net'),
$this->config->get('Gest'),
$row->aaa_aainscritos___email_raw,
"A row has been deleted!",
"Some message text, perhaps using some form data like this: {$row->aaa_aainscritos___abreviado} "
);
}
}
XAMPP for Windows 8.1.17
Sending an email onDeleteRows
I always get the error: 0 Call to a member function get() on null
I'm using the code I collected from the Wiki
$data = $model->getData();
foreach ($data as $group) {
foreach ($group as $row) {
FabrikWorker::sendMail(
$this->config->get('asespedal@asespedal.net'),
$this->config->get('Gest'),
$row->aaa_aainscritos___email_raw,
"A row has been deleted!",
"Some message text, perhaps using some form data like this: {$row->aaa_aainscritos___abreviado} "
);
}
}