I’m getting the same error:
2024-03-29T23:59:05.364Z server-connect:router Serving serverConnect /api/registration/register
2024-03-29T23:59:05.365Z server-connect:app Executing action step validate
2024-03-29T23:59:05.365Z server-connect:app options: {
data: [
{
name: ‘validate_1’,
value: ‘{{$_POST.email}}’,
rules: [Object],
fieldName: ‘email’
}
]
}
2024-03-29T23:59:05.371Z server-connect:app Executing action step condition
2024-03-29T23:59:05.371Z server-connect:app options: {
if: ‘{{$_POST.product_id.length()>0}}’,
then: {
steps: {
name: ‘authorized’,
module: ‘core’,
action: ‘response’,
options: [Object]
}
}
}
2024-03-29T23:59:05.371Z server-connect:app Executing action step condition
2024-03-29T23:59:05.372Z server-connect:app options: {
if: ‘{{$_POST.product_name!=$_SESSION.regcode}}’,
then: {
steps: {
name: ‘authorized_copy’,
module: ‘core’,
action: ‘response’,
options: [Object]
}
}
}
2024-03-29T23:59:05.372Z server-connect:app Executing action step passwordHash
2024-03-29T23:59:05.372Z server-connect:app options: { password: ‘{{$_POST.password}}’, algo: ‘argon2id’ }
2024-03-29T23:59:05.436Z server-connect:app Executing action step insert
2024-03-29T23:59:05.436Z server-connect:app options: {
connection: ‘db’,
sql: {
type: ‘insert’,
values: [ [Object], [Object], [Object], [Object] ],
table: ‘user’,
returning: ‘user_id’,
query: ‘insert into user
(email
, first_name
, last_name
, password
) values (?, ?, ?, ?) returning user_id
‘,
params: [ [Object], [Object], [Object], [Object] ]
}
}
2024-03-29T23:59:05.438Z server-connect:app Executing action step setvalue
2024-03-29T23:59:05.438Z server-connect:app options: {
value: ‘“0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9”’
}
2024-03-29T23:59:05.438Z server-connect:app Executing action step setvalue
2024-03-29T23:59:05.438Z server-connect:app options: { value: "{{saltcode.split(’,’)}}" }
2024-03-29T23:59:05.438Z server-connect:app Executing action step setvalue
2024-03-29T23:59:05.438Z server-connect:app options: { key: ‘g_randomarray’, value: ‘{{codearray.randomize()}}’ }
2024-03-29T23:59:05.438Z server-connect:app Executing action step setvalue
2024-03-29T23:59:05.438Z server-connect:app options: { key: ‘g_mycode’ }
2024-03-29T23:59:05.438Z server-connect:app Executing action step repeat
2024-03-29T23:59:05.438Z server-connect:app options: {
repeat: 6,
outputFields: ,
exec: {
steps: {
name: ‘mycode’,
module: ‘core’,
action: ‘setvalue’,
options: [Object],
meta: ,
outputType: ‘text’
}
}
}
2024-03-29T23:59:05.438Z server-connect:app Executing action step setvalue
2024-03-29T23:59:05.438Z server-connect:app options: { value: ‘{{g_mycode+randomarray($index)}}’, key: ‘g_mycode’ }
2024-03-29T23:59:05.438Z server-connect:server Got error? ReferenceError: expression is not defined