A PHP Warning when the cron is started with php command
-
Hi, a little warning that anyway does not affect the correct functioning. When the wp-cron.php is triggered using the php command (and not an http call) this warning is recorded:
PHP Warning: Undefined array key "SERVER_PROTOCOL" in .../wp-content/plugins/awesome-support/includes/functions-general.php on line 202 PHP Warning: Undefined array key "SERVER_NAME" in .../wp-content/plugins/awesome-support/includes/functions-general.php on line 203 PHP Warning: Undefined array key "SERVER_PORT" in .../wp-content/plugins/awesome-support/includes/functions-general.php on line 203with PHP 8.0.
Bye, Stefano.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘A PHP Warning when the cron is started with php command’ is closed to new replies.