starry sentment
thats the strange thing, I only have it declared once, but I figured it out, WA_AppBuilder_PHP.php is called in the file mail_formatting.php which is included, I commented out the require_once("WA_AppBuilder_PHP.php") in mail_formatting.php and now it is OK.