OSX crash whilst working on Wappler

Running the newest Wappler version on a Macbook Air M1.

On a few occasions while working on Wappler I got a freeze (black/magenta screen) and then auto restart.

I’ve closed all other applications and seem to happen with a specific PHP file I am working on. The file has not given me problems before and I didn’t do anything special (just trying to add text to a column).

In the meantime this has happened 5 times.

After the reboot I get this message:

Update
It seems that the dmx-flow is the problem. As soon as I deleted the flow, it stopped hard-crashing. Once I added it back in, it crashed again after a minute of working on the file.

To be exact, this is the code that causes these serious problems:

  <script is="dmx-flow" id="flow1" type="text/dmx-flow">{
  meta: {
    $param: [
      {type: "number", name: "UserID"}
    ]
  },
  exec: {
    steps: {
      bootbox.confirm: {
        message: "{{'Delete '+get_users.data.query.where('UserID', $param.UserID, '==')[0].UserName+' ?'}}",
        title: "Confirm",
        buttons: {
          confirm: {className: "btn-success", label: "Yes delete this user"},
          cancel: {className: "btn-danger", label: "Cancel"}
        },
        then: {
          steps: [
            {
              serverConnect: {
                url: "dmxConnect/api/del_user.php",
                site: "DS",
                params: {userid: "{{$param.UserID}}"},
                name: "sc"
              }
            },
            {
              run: {action: "{{get_users.load()}}", name: "refreshlist"}
            }
          ]
        },
        name: "deleteuser"
      }
    }
  }
}</script>
Community Page
Last updated: