Title: Undefined index: REQUEST_METHOD
Last modified: November 18, 2019

---

# Undefined index: REQUEST_METHOD

 *  Resolved [Fredrick Miller](https://wordpress.org/support/users/discountamerica/)
 * (@discountamerica)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/undefined-index-request_method-4/)
 * Warning: Cannot modify header information – headers already sent by
    Please tell
   me how to fix these errors from cron, thanks

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [cartpauj](https://wordpress.org/support/users/cartpauj/)
 * (@cartpauj)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/undefined-index-request_method-4/#post-12147822)
 * Are you triggering cron from the CLI?
 *  Thread Starter [Fredrick Miller](https://wordpress.org/support/users/discountamerica/)
 * (@discountamerica)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/undefined-index-request_method-4/#post-12149959)
 * Why would I be using CLI for it? The plugin was working fine until last WordPress
   update. After that 3 other plugins also started giving problems as well and two
   of the developers have already replied it will be fixed in their next update 
   and one gave me a work around until they fix it.
 *  Plugin Author [cartpauj](https://wordpress.org/support/users/cartpauj/)
 * (@cartpauj)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/undefined-index-request_method-4/#post-12151385)
 * I can’t duplicate and I haven’t had any other reports yet, when and where are
   you getting these notices?
 *  Thread Starter [Fredrick Miller](https://wordpress.org/support/users/discountamerica/)
 * (@discountamerica)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/undefined-index-request_method-4/#post-12154579)
 * They were sent from cron email, but I have removed the plugin completely for 
   now, until I can figure out what the issue is.
 *  [Daniel Hendricks](https://wordpress.org/support/users/hendridm/)
 * (@hendridm)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/undefined-index-request_method-4/#post-12270207)
 * Do you have `DISABLE_WP_CRON` defined true and are using an external wp-cron 
   trigger? If so, that _might_ explain why `REQUEST_METHOD` (and [others](https://tigr.net/3203/2014/09/13/getting-wordpress-cron-work-in-multisite-environment/#comment-790))
   is not set, depending on the method that you’re using to trigger cron. Just a
   thought…

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Undefined index: REQUEST_METHOD’ is closed to new replies.

 * ![](https://ps.w.org/pretty-link/assets/icon-256x256.png?rev=2503434)
 * [PrettyLinks - Affiliate Links, Link Branding, Link Tracking, Marketing and Stripe Payments Plugin](https://wordpress.org/plugins/pretty-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pretty-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pretty-link/)
 * [Active Topics](https://wordpress.org/support/plugin/pretty-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pretty-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pretty-link/reviews/)

## Tags

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

 * 5 replies
 * 3 participants
 * Last reply from: [Daniel Hendricks](https://wordpress.org/support/users/hendridm/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/undefined-index-request_method-4/#post-12270207)
 * Status: resolved