4.0.1: PHP notice from cron
-
When real Linux cron is configured (e.g. * * * * * php /path/to/wp-cron.php), running cron produces a notice:
PHP Notice: Undefined index: REQUEST_METHOD in /wp-content/plugins/wp-fail2ban/vendor/freemius/wordpress-sdk/config.php on line 166
Naturally, … because REQUEST_METHOD is not available in CLI context.
Many folks are relying on errors written to stdout / emailed by cron. The empty output when running wp-cron.php means a healthy cron run.
Can you please fix the plugin so that it won’t emit any notices when running wp-cron.php directly?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘4.0.1: PHP notice from cron’ is closed to new replies.