after moving to production server suddenly my BS code stopped working
I "narrowed" it down to $nudata remaining empty....
Code: Select all
nuDebug(nuHash());
nuDebug($nudata);
nuDebug($userIdInputObject = 'ed_by');
nuDebug($userId = nuHash()['LOGIN_NAME']);
nuDebug($mainFormId = nuHash()['nuFORMdata'][0]->object_id);
nudebug(nuGetNuDataValue($nudata, $mainFormId, $userIdInputObject));
nuDebug(nuSetNuDataValue($nudata, $mainFormId, 'ed_by', $userId));
nuDebug("nudata:",$nudata);
second nudebug returns 0 on new server and data array on test server
both instances set up using the same docker-compose and the same image versions, phpinfo(); is identical between them too
databases were migrated using mysqldump and then imported before nubuilder was started
I even started from scratch, still the same issue.
please save my sanity
btw i'm trying to save who edited entry by changing fiels named "ed_by"