have you tried Deleting the Dreamweaver Cache file from the users configuration folder:
http://www.webassist.com/community/tutorials/view_tutorial.php?tid=95
Try Creating a blank php page and applying UE to the blank page, do you get the same error?
If not, there is something specific to your page causing the error. Send a copy of the page.