Title: Console Error &#8211; Undefined Index
Last modified: April 14, 2020

---

# Console Error – Undefined Index

 *  [Masidus](https://wordpress.org/support/users/masidus/)
 * (@masidus)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/console-error-undefined-index/)
 * Hello,
 * When trying to fix another plugin, I came across this error:
 * `Undefined index: REQUEST_METHOD in $ABSPATH/wp-content/plugins/woocommerce-auto-
   added-coupons/includes/plugins/WJECF_Debug.php:180`
 * Many thanks for your time!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Soft79](https://wordpress.org/support/users/josk79/)
 * (@josk79)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/console-error-undefined-index/#post-12676263)
 * Ok thanks, noted. Running from CLI can cause this, did you run from CLI? I will
   apply a fix in the next release. Disabling DEBUG mode will solve it.

Viewing 1 replies (of 1 total)

The topic ‘Console Error – Undefined Index’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-auto-added-coupons/assets/icon-256x256.png?rev
   =3357537)
 * [Extended Coupon Features for WooCommerce FREE](https://wordpress.org/plugins/woocommerce-auto-added-coupons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-auto-added-coupons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-auto-added-coupons/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-auto-added-coupons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-auto-added-coupons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-auto-added-coupons/reviews/)

## Tags

 * [undefined index](https://wordpress.org/support/topic-tag/undefined-index/)

 * 1 reply
 * 2 participants
 * Last reply from: [Soft79](https://wordpress.org/support/users/josk79/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/console-error-undefined-index/#post-12676263)
 * Status: not resolved