Hard to say, looks like it is looking for a form/url variable.
If you are trying to include a page that calls ad_page_contract you need to
1) split the original page into two parts, one with ad_page_contract, and the includable parts
or
2) set the form variable with rp_form_put.