D7 RC4 - When adding a button from the Affiliates administration page, the following list of errors is resturned:

    * Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in affiliate_form_button_add_edit() (line 406 of /home/stellaja/public_html/sites/all/modules/affiliates/affiliates.module).
    * Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in affiliate_form_button_add_edit() (line 415 of /home/stellaja/public_html/sites/all/modules/affiliates/affiliates.module).
    * Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in affiliate_form_button_add_edit() (line 424 of /home/stellaja/public_html/sites/all/modules/affiliates/affiliates.module).
    * Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in affiliate_form_button_add_edit() (line 434 of /home/stellaja/public_html/sites/all/modules/affiliates/affiliates.module).
    * Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in affiliate_form_button_add_edit() (line 448 of /home/stellaja/public_html/sites/all/modules/affiliates/affiliates.module).
    * Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in affiliate_form_button_add_edit() (line 457 of /home/stellaja/public_html/sites/all/modules/affiliates/affiliates.module).
    * Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in affiliate_form_button_add_edit() (line 466 of /home/stellaja/public_html/sites/all/modules/affiliates/affiliates.module).
    * Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in affiliate_form_button_add_edit() (line 475 of /home/stellaja/public_html/sites/all/modules/affiliates/affiliates.module).

The add button page still seems to load. I didn't test further.

The core is D7 - RC4