The function "WA_AB_generateInsertParams" is defined in the WA_DataAssist/WA_AppBuilder_PHP.php file.
The error you are getting indicates that the line to include the WA_DataAssist/WA_AppBuilder_PHP.php file is either after line 70 or does not exist on the page.
Look for the following code:
<?php require_once("WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
and move it to be before the server behavior code.