Error: The object is not currently contained in a document
When I attempt to place a Send Email behaviour on my checkout_success.php page, it is placing the behaviour code at the very foot of the page, as opposed to in the header.
When I manually move the code above the head, and then get to the checkout_success.php page, what's displayed appears to be the confirmation e-mail file that's detailed in $Email->BodyFile?
Trying to edit the behaviour brings up "Error: The object is not currently contained in a document", no matter where the behaviour code is on the page.
File attached.
Hope you can help. Thank you.
NJ