Title: PHP Warning: Undefined array key &#8220;REQUEST_METHOD&#8221; in RequestStorage.php
Last modified: April 5, 2026

---

# PHP Warning: Undefined array key “REQUEST_METHOD” in RequestStorage.php

 *  Resolved [adamscottmartin](https://wordpress.org/support/users/adamscottmartin/)
 * (@adamscottmartin)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-request_method-in-requeststorage-php/)
 * Have seen somewhat frequent errors with the message shown below. At least more
   frequently than I would like to see, but cannot replicate on demand. Looking 
   at contents of that file it all seems normal, looks to be a very small document
   and I haven’t modified the php code or anything. Maybe a bug? Not sure, but posting
   for awareness or help to fix. Thanks.
 * PHP Warning: Undefined array key “REQUEST_METHOD” in /public_html/wp-content/
   plugins/really-simple-ssl/core/app/Support/Helpers/Storages/RequestStorage.php
   on line 28
 * WP version 6.9.4
   PHP version 8.3.30RSS plugin version 9.5.9

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

 *  [Xoyozo](https://wordpress.org/support/users/xoyozo/)
 * (@xoyozo)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-request_method-in-requeststorage-php/#post-18873355)
 * Hello everyone,
 * I can confirm this issue:
 * _PHP Warning: Undefined array key “REQUEST\_METHOD” in /wp-content/plugins/really-
   simple-ssl/core/app/Support/Helpers/Storages/RequestStorage.php on line 28_
 * WP version 6.9.4
   PHP version 8.4.12RSS version 9.5.8 -> 9.5.9
 * I have a dedicated cron job running here (WP-Cron is disabled, DISABLE_WP_CRON
   is set to “true”), which, after updating to RSS 9.5.9, sends me an error message
   via email every time the cron job runs (every 5 minutes!).
 * I then manually downgraded to RSS 9.5.8, and the error messages disappeared immediately.
   Updating back to RSS 9.5.9 immediately caused this issue to reappear.
 * Right now, I find it hard to understand how such an issue could have gone unnoticed
   during testing (quality assurance) for a “security plugin”.
 * Thanks for fixing the bug!
 *  Thread Starter [adamscottmartin](https://wordpress.org/support/users/adamscottmartin/)
 * (@adamscottmartin)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-request_method-in-requeststorage-php/#post-18873408)
 * Apologies I got busy at work. Confirmed mine also aligns with the cron schedule
   so this matches your experience. Appreciate you confirming the same and hopefully
   they can correct the bug. Cheers.
 *  Plugin Support [Mark Amante](https://wordpress.org/support/users/markamante/)
 * (@markamante)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-request_method-in-requeststorage-php/#post-18873526)
 * Hello [@adamscottmartin](https://wordpress.org/support/users/adamscottmartin/)
   and [@xoyozo](https://wordpress.org/support/users/xoyozo/),
 * Thanks for reporting this and for the detailed context 👍
 * This is a PHP warning, not a critical error. It typically occurs in non-browser
   contexts (like cron jobs) where certain server variables (such as `REQUEST_METHOD`)
   are not available.
 * We’re aware of this and have already addressed it. A fix will be included in 
   the next release, so this warning should no longer appear.
 * Thanks for flagging this!
 *  [Xoyozo](https://wordpress.org/support/users/xoyozo/)
 * (@xoyozo)
 * [4 weeks ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-request_method-in-requeststorage-php/#post-18887275)
 * Hello [@markamante](https://wordpress.org/support/users/markamante/),
 * this PHP warning still appears in RSS version 9.5.10. This means the bug wasn’t
   fixed in “the next release”. So I’ve rolled back to RSS version 9.5.8.
 * Thanks for fixing this in the next release!
 *  Thread Starter [adamscottmartin](https://wordpress.org/support/users/adamscottmartin/)
 * (@adamscottmartin)
 * [4 weeks ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-request_method-in-requeststorage-php/#post-18887321)
 * I can confirm upgrading to latest RSS version 9.5.10 does not fix this issue 
   on my site either. Changing status back to ‘not resolved’. Appreciate any future
   fixes for this bug.
 *  Plugin Support [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 weeks ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-request_method-in-requeststorage-php/#post-18887478)
 * Hi [@adamscottmartin](https://wordpress.org/support/users/adamscottmartin/), 
   [@xoyozo](https://wordpress.org/support/users/xoyozo/)
 * Sorry, the proposed fix was not in time to make the current release; but will
   be part of the next one.
 * You can already download the latest version of the plugin which contains the 
   fix [here](https://handover.blue/get/db5f42f8-a974-4c18-9e2b-0019bc8d5455). It
   is identical to the 9.5.10 release and only the fix for this specific warning
   has been added.
 * Or obtain it manually from GitHub instead, here: [https://github.com/Really-Simple-Plugins/really-simple-ssl/tree/fix-request-method-check](https://github.com/Really-Simple-Plugins/really-simple-ssl/tree/fix-request-method-check)
 * Kind regards, Jarno
 *  Plugin Support [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [3 weeks ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-request_method-in-requeststorage-php/#post-18894178)
 * Hi [@xoyozo](https://wordpress.org/support/users/xoyozo/) [@adamscottmartin](https://wordpress.org/support/users/adamscottmartin/),
 * This fix has been included in the **9.5.10.1** update of Really Simple Security,
   which was just released on WordPress.org.
 * Kind regards, Jarno
 *  [Xoyozo](https://wordpress.org/support/users/xoyozo/)
 * (@xoyozo)
 * [2 weeks, 3 days ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-request_method-in-requeststorage-php/#post-18897210)
 * Hi [@jarnovos](https://wordpress.org/support/users/jarnovos/),
 * Yes, I can confirm that the bug has been fixed in **RSS 9.5.10.1**.
   Thank you
   very much!
 * Kind regards.
 *  Thread Starter [adamscottmartin](https://wordpress.org/support/users/adamscottmartin/)
 * (@adamscottmartin)
 * [2 weeks, 3 days ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-request_method-in-requeststorage-php/#post-18897211)
 * Confirmed fixed on my site as well, thank you!!

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-undefined-array-key-request_method-in-requeststorage-php%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 9 replies
 * 4 participants
 * Last reply from: [adamscottmartin](https://wordpress.org/support/users/adamscottmartin/)
 * Last activity: [2 weeks, 3 days ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-request_method-in-requeststorage-php/#post-18897211)
 * Status: resolved