Title: PHP Warnings in error_log
Last modified: November 28, 2025

---

# PHP Warnings in error_log

 *  Resolved [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * (@rfischmann)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/php-warnings-in-error_log-2/)
 * Hi, my error_log file is full of these:
 *     ```wp-block-code
       [28-Nov-2025 10:06:03 UTC] PHP Warning: Undefined array key "malware-scan" in /home/macmagazine/public_html/wp-content/plugins/better-wp-security/core/lib/class-itsec-scheduler-cron.php on line 54[28-Nov-2025 10:06:03 UTC] PHP Warning: Trying to access array offset on null in /home/macmagazine/public_html/wp-content/plugins/better-wp-security/core/lib/class-itsec-scheduler-cron.php on line 54
       ```
   
 * Any chance this might get fixed in a future plugin update? Thanks!

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

 *  Plugin Support [chandelierrr](https://wordpress.org/support/users/shanedelierrr/)
 * (@shanedelierrr)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/php-warnings-in-error_log-2/#post-18735932)
 * Hi [@rfischmann](https://wordpress.org/support/users/rfischmann/),
 * Thanks for flagging this.
 * The warnings indicate that the plugin is trying to access a missing or undefined
   value during its scheduled runs. We think that this may be due to a corrupted
   Solid Security Scheduler configuration.
 * These types of PHP warnings are usually non-critical and don’t impact site functionality,
   but I do understand that it can fill the logs fast. I’ve escalated this to our
   dev team for a potential fix.
 * In the meantime, kindly try resetting the Solid Security Scheduler by enabling
   the [Debug mode](https://solidwp.com/documentation/security/how-it-works/all-about-solid-securitys-debug-mode/#debug-scheduler),
   and clicking the “Reset” button to reset the configuration.
 * I hope this helps!
 *  Thread Starter [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * (@rfischmann)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/php-warnings-in-error_log-2/#post-18736437)
 * This seems to have done the trick (at least after a few hours of observation),
   [@shanedelierrr](https://wordpress.org/support/users/shanedelierrr/), thanks 
   a lot!

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

The topic ‘PHP Warnings in error_log’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Rafael Fischmann](https://wordpress.org/support/users/rfischmann/)
 * Last activity: [6 months, 2 weeks ago](https://wordpress.org/support/topic/php-warnings-in-error_log-2/#post-18736437)
 * Status: resolved