Title: PHP-Warning in WP-Cron.php
Last modified: August 16, 2023

---

# PHP-Warning in WP-Cron.php

 *  Resolved [Jürgen](https://wordpress.org/support/users/trimension/)
 * (@trimension)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warning-in-wp-cron-php/)
 * I installed the plugin today and configured it carefully, leaving out certain
   advanced settings for now.
 * I now get an email from WP-Cron every hour: 
   “PHP Warning: Undefined array key“
   REQUEST_METHOD” in /var/www/vhosts/…/wordpress/wp-content/plugins/all-in- one-
   wp-security-and-firewall/classes/firewall/rule/rules/general/rule-proxy-comment-
   posting.php on line 43″
 * Is this Problem known? How can I stop this?
 * BTW: I call wp-cron.php directly from the Linux cron-system. Its not called by
   wordpress itself
    -  This topic was modified 2 years, 9 months ago by [Jürgen](https://wordpress.org/support/users/trimension/).

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

 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warning-in-wp-cron-php/#post-16978236)
 * Hi [@trimension](https://wordpress.org/support/users/trimension/)
 * Running from cron might be raising that warning due to forbid proxy comments 
   on, Please disable it from WP Security > Firewall > Advanced firewall rules. 
   It will stop sending that warning.
 * I will create internal ticket for this and get back to you on this asap.
 * Regards
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warning-in-wp-cron-php/#post-16979520)
 * Hi [@trimension](https://wordpress.org/support/users/trimension/)
 * We have internally wokrked on this issue.
 * Can you please upload the zip as Add new plugin and replace it with existing 
   AIOS plugin ?
 * Please enable again the forbid proxy comments from WP Security > Firewall > Advanced
   firewall rules.  and confirm the issue is solved
 * [https://gofile.io/d/ciFoCJ](https://gofile.io/d/ciFoCJ)
 * This fix is going to be in the next release.
 * Regards
 *  Thread Starter [Jürgen](https://wordpress.org/support/users/trimension/)
 * (@trimension)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warning-in-wp-cron-php/#post-16979667)
 * Hi…
 * seems to be fixed…
 * Plugin updated, Option activated and I no longer get any more PHP warnings from
   the cron jobs
 * Many Thanks for the really quick help 🙂
    -  This reply was modified 2 years, 9 months ago by [Jürgen](https://wordpress.org/support/users/trimension/).

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

The topic ‘PHP-Warning in WP-Cron.php’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jürgen](https://wordpress.org/support/users/trimension/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/php-warning-in-wp-cron-php/#post-16979667)
 * Status: resolved