PHP warning: Undefined array key REQUEST_METHOD in html-rewrite.php
-
Hi,
We are seeing repeated PHP warnings from the Flying Scripts plugin in our server logs.
Plugin/file:
wp-content/plugins/flying-scripts/html-rewrite.phpExact warning:
PHP Warning: Undefined array key “REQUEST_METHOD” in /wp-content/plugins/flying-scripts/html-rewrite.php on line 18Environment:
- WordPress / WooCommerce site
- PHP 8.2
- Standard WordPress/WooCommerce site, not headless
It looks like the plugin may be accessing
$_SERVER['REQUEST_METHOD']directly without checking if the key exists first. This can generate warnings.Could you please confirm if there is an updated version or recommended patch for this issue?
You must be logged in to reply to this topic.