I have exactly the same problem
It took me a day of checking and trying to find this out.
WebAssist's Mysql Extension ALWAYS puts the Insert / Update server behaviour immediately after :
<?php require_once('../Connections/TB_connect_i.php'); ?>
<?php require_once('../webassist/mysqli/rsobj.php'); ?>
<?php require_once("../webassist/file_manipulation/helperphp.php"); ?>
pushing (in case of update the Recordset) and file upload php chunk down, although it was inserted last.
Please repair this on your next update.