It sounds like you may not have the include reference on the page, or high enough on the page.
the error says the function is undefined, but that function should be defined with the line of code:
<?php include "cms/WA_CMS/WA_CMS.php"; ?>
so that line of code maybe doesn't exist or is too low on the page.