Unless DelphiProgramming has changed the names of the tables, the name for the Warning Types table should be "warning_types".
If that's not the case, I would suggest you contact Delphi.
As for the unvalid function call, at the top of the kill_warns.php file you have to see the following lines:
Code:
require_once('./global.php');
require_once('./includes/functions_user.php');
require_once('./includes/functions_newpost.php');
require_once('./includes/functions_warning.php');
Please note that this is from the old AWS (for vB 3.0.xx) I haven't worked on the code after that, Delphi has.
That part of the code you quote (the one with convert_array_to_bits) doesn't exist in my code.