Title: Warning: Undefined array key
Last modified: January 13, 2025

---

# Warning: Undefined array key

 *  Resolved [aster98](https://wordpress.org/support/users/aster98/)
 * (@aster98)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-29/)
 * Hi,
 * I encountered the following error in the **Woo Coupon Usage** plugin:
 * vbnet
 * Skopiuj kod
 * `Warning: Undefined array key "wcusage_field_paypal_enable" in /home/platne/serwer313207/
   public_html/autoinstalator/nellytheteacher.pl/wordpress91213/wp-content/plugins/
   woo-coupon-usage/inc/registration/class-registrations-list-table.php on line 
   28`
 * This error appears in multiple scenarios:
    1. When someone registers on the website.
    2. In the affiliate panel, where the same warning is visible.
 * It seems the issue arises when the plugin attempts to access the array key `"
   wcusage_field_paypal_enable"`, which doesn’t exist. However, I do not have PayPal
   installed or enabled on my website, as it is not needed for my use case.
 * Could this be a misconfiguration or a bug? Additionally, I would like to know
   how to completely disable the PayPal functionality in this plugin, as it might
   be related to the issue.
 * Any help would be appreciated!
 * ![](https://i0.wp.com/nellytheteacher.pl/wp-content/uploads/2025/01/Zrzut-ekranu-
   2025-01-13-o-17.10.50.png?ssl=1)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-undefined-array-key-29%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Elliot Sowersby](https://wordpress.org/support/users/elliotvs/)
 * (@elliotvs)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-29/#post-18241645)
 * Thanks for the message! We’ll take a look into fixing this in the next update.
 * I assume you have WP_DEBUG enabled on your site config. If you disable this or
   enabled WP_DEBUG_LOG alongside it, it should stop showing this error directly
   on your site.
 * [https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
    -  This reply was modified 1 year, 4 months ago by [Elliot Sowersby](https://wordpress.org/support/users/elliotvs/).

Viewing 1 replies (of 1 total)

The topic ‘Warning: Undefined array key’ is closed to new replies.

 * ![](https://ps.w.org/woo-coupon-usage/assets/icon-128x128.png?rev=3157888)
 * [Coupon Affiliates – Affiliate Plugin for WooCommerce](https://wordpress.org/plugins/woo-coupon-usage/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-coupon-usage/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-coupon-usage/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-coupon-usage/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-coupon-usage/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-coupon-usage/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Elliot Sowersby](https://wordpress.org/support/users/elliotvs/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-29/#post-18241645)
 * Status: resolved