Title: Affirm Payments PHP Error
Last modified: August 22, 2023

---

# Affirm Payments PHP Error

 *  Resolved [brgreene](https://wordpress.org/support/users/brgreene/)
 * (@brgreene)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/affirm-payments-php-error/)
 * I am constantly getting a PHP error regarding the Affirm Payments plugin on my
   backend. If I click on Orders the error shows then the site moves to the orders..
 * Warning: Undefined array key “id” in /home/……../public_html/wp-content/plugins/
   woocommerce-gateway-affirm/class-woocommerce-gateway-affirm.php on line 1637
 * Any help would be appreciated. I am using Version 2.1.1.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * (@shameemreza)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/affirm-payments-php-error/#post-17005086)
 * Hi [@brgreene](https://wordpress.org/support/users/brgreene/)
 * The error message you’re receiving suggests that there’s an issue with the Affirm
   Payments plugin. It appears that the plugin is trying to access an array key “
   id” that isn’t defined. This can occur due to various reasons such as a conflict
   with another plugin, a bug in the Affirm Payments plugin itself.
 * Here are a few steps that you can take to resolve this issue:
    - **Reinstall the plugin:** Could you kindly take a moment to reinstall the 
      plugin? To do so, deactivate the plugin and delete it. Download the Affirm
      Payments from your WooCommerce.com account again and reinstall it.
    - **Disable Other Plugins**: Temporarily disable all other plugins and check
      if the error persists. If the error disappears, there’s likely a conflict 
      with one of your other plugins. You can identify the conflicting plugin by
      re-activating each plugin one by one and checking when the error re-appears.
      You can find a detailed explanation of conducting a conflict test [here](https://docs.woocommerce.com/document/how-to-test-for-conflicts/).
    - **Switch Theme**: Temporarily switch to a default WordPress theme like Storefront
      to see if your theme is causing the issue.
 * If none of the above steps work, it might be a specific issue with the Affirm
   Payments plugin. In this case, we’ll need to have a closer look. Could you please
   open a ticket about this from [WooCommerce.com > MY profile > Support](https://woocommerce.com/my-account/create-a-ticket/)?
 * Ensure to include a link to this thread, so we know what has been done already.
   Also, include your site’s System Status Report. You’ll find it at the top of 
   the page under **WooCommerce > Status > Get system report > Copy for support (
   after you scroll down a bit)**.
 * I hope these steps help you resolve the issue. If you need further assistance,
   don’t hesitate to reply.

Viewing 1 replies (of 1 total)

The topic ‘Affirm Payments PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/affirm-payments-php-error/#post-17005086)
 * Status: resolved