Title: php notice firewall.php
Last modified: July 5, 2019

---

# php notice firewall.php

 *  Resolved [Wendihihihi](https://wordpress.org/support/users/wendihihihi/)
 * (@wendihihihi)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/php-notice-firewall-php/)
 * Hi,
 * Since May 17, I’m getting php notices in my error log. Are these able to be fixed?
 * [17-May-2019 07:49:58 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 574
    [17-
   May-2019 07:49:58 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 604 [17-
   May-2019 07:50:22 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 574 [17-
   May-2019 07:50:22 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 604 [17-
   May-2019 17:48:12 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 574 [17-
   May-2019 17:48:12 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 604 … [04-
   Jul-2019 04:46:01 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 661 [04-
   Jul-2019 04:46:01 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 691 [04-
   Jul-2019 05:26:30 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 661 [04-
   Jul-2019 05:26:30 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 691 [04-
   Jul-2019 05:26:30 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 661 [04-
   Jul-2019 05:26:30 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 691 [04-
   Jul-2019 05:27:06 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 661 [04-
   Jul-2019 05:27:06 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 691 [04-
   Jul-2019 05:30:06 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 661 [04-
   Jul-2019 05:30:06 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 691 [04-
   Jul-2019 05:30:06 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 661 [04-
   Jul-2019 05:30:06 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 691 [04-
   Jul-2019 05:32:59 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 661 [04-
   Jul-2019 05:32:59 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 691 [04-
   Jul-2019 13:24:06 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 661 [04-
   Jul-2019 13:24:06 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 691

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

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/php-notice-firewall-php/#post-11702398)
 * Hi,
 * Thanks for reporting. I’ll fix that issue in the next release.
    Note that this
   is not an error but a notice, thus you can safely ignore it. It does not crash
   nor affect your site, it simply means that the `$size` variable is not defined(
   it is used to check uploaded file size).
 *  Thread Starter [Wendihihihi](https://wordpress.org/support/users/wendihihihi/)
 * (@wendihihihi)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/php-notice-firewall-php/#post-11900286)
 * Hi,
 * This is not fixed yet 😉
 * [04-Sep-2019 04:24:55 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666
    [04-
   Sep-2019 04:30:00 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666 [04-
   Sep-2019 04:30:02 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666 [04-
   Sep-2019 05:35:56 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666 [04-
   Sep-2019 07:53:45 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666 [04-
   Sep-2019 07:55:47 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666 [04-
   Sep-2019 07:55:47 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666 [04-
   Sep-2019 07:56:41 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666 [04-
   Sep-2019 07:56:41 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666 [04-
   Sep-2019 08:22:40 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666 [04-
   Sep-2019 09:06:21 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666 [04-
   Sep-2019 19:24:30 UTC] PHP Notice: Undefined index: size in /home/root/public_html/
   domainname/wp-content/plugins/ninjafirewall/lib/firewall.php on line 666
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/php-notice-firewall-php/#post-11901786)
 * Yes, I’m aware of that.
    Last patch is not good enough, I’ll fix it in the next
   release.

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

The topic ‘php notice firewall.php’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

## Tags

 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)
 * [undefined index](https://wordpress.org/support/topic-tag/undefined-index/)

 * 3 replies
 * 2 participants
 * Last reply from: [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/php-notice-firewall-php/#post-11901786)
 * Status: resolved