I have been using this method but a recent update has stopped this from working. The code I have in Before Save is
Code: Select all
$nuMainForm = nuHash()['nuFORMdata'][0]->id;
nuSetNuDataValue($nudata, $nuMainForm, 'pri_confirmation_sent', date('Y-m-d H:i:s'));
Code: Select all
[Tue Jul 09 10:35:46.385245 2024] [php:warn] [pid 3566:tid 3566] [client fe80::16e3:41ab:511b:16e2%eno2:50406] PHP Warning: foreach() argument must be of type array|object, null given in /var/www/forte/core/nudata.php on line 689, referer: https://nubuilder/index.php
Neil.