Undefined index: REQUEST_METHOD
-
Hi!
If WP Cron is being called from CLI, variable $_SERVER[‘REQUEST_METHOD’] is not being set and then iThemes Security generates this all the time:
PHP Notice: Undefined index: REQUEST_METHOD in /wp-content/plugins/better-wp-security/core/modules/ssl/class-itsec-ssl.php on line 72Probably need to add additional check if this variable is set before checking it’s value.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Undefined index: REQUEST_METHOD’ is closed to new replies.