for the first 2 errors, edit line 99 the WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php file:
$eachItemArray[] = $thisItem;
to:
$eachItemArray[] = $thisItem;
$billingAgreements = array();
for the last error, add the following code at line 1 of the confirm page:
<?php
//WA eCart Include
require_once("WA_eCart/WA_eCart_Database_PHP.php");
?>
this is a bug that should be fixed if you are using the most recent version of eCart.