Wappler 2.8.3, Windows 10
I’m trying to do some relatively simple maths in a server action. I’ve used the menu system to create the action steps but I’m getting PHP errors… Here are the details:
=======================================
The run time error produced is this:
{code: 0, file: "C:\Users\anton\Dropbox\workshop-angel\dmxConnectLib\lib\core\Lexer.php", line: 208,…}
code: 0
file: "C:\Users\anton\Dropbox\workshop-angel\dmxConnectLib\lib\core\Lexer.php"
line: 208
message: "Unterminated RegExp in expression {{v_temp1.round() / 100}}"
trace: "#0 C:\Users\anton\Dropbox\workshop-angel\dmxConnectLib\lib\core\Lexer.php(57): lib\core\Lexer->read_regexp()↵#1 C:\Users\anton\Dropbox\workshop-angel\dmxConnectLib\lib\core\Parser.php(84): lib\core\Lexer->parse('v_temp1.round()...')↵#2 C:\Users\anton\Dropbox\workshop-angel\dmxConnectLib\lib\App.php(221): lib\core\Parser->parse('v_temp1.round()...', NULL)↵#3 C:\Users\anton\Dropbox\workshop-angel\dmxConnectLib\lib\App.php(206): lib\App->parseObject('{{v_temp1.round...', NULL)↵#4 C:\Users\anton\Dropbox\workshop-angel\dmxConnectLib\modules\core.php(99): lib\App->parseObject(Object(stdClass))↵#5 C:\Users\anton\Dropbox\workshop-angel\dmxConnectLib\lib\App.php(173): modules\core->setvalue(Object(stdClass), 'v_amount_receiv...')↵#6 C:\Users\anton\Dropbox\workshop-angel\dmxConnectLib\lib\App.php(137): lib\App->execSteps(Object(stdClass))↵#7 C:\Users\anton\Dropbox\workshop-angel\dmxConnectLib\lib\App.php(107): lib\App->execSteps(Array)↵#8 C:\Users\anton\Dropbox\workshop-angel\dmxConnectLib\lib\App.php(72): lib\App->exec(Object(stdClass))↵#9 C:\Users\anton\Dropbox\workshop-angel\dmxConnect\api\form\payment_success.php(8): lib\App->define(Object(stdClass))↵#10 {main}"