Plugin Not Compatible With PHP 7.2
-
I ran the PHP compatibility checker on my site and your plugin has a lot of errors. I’ve added the output below. There are 22 warnings where your code will be deprecated in PHP 7.2. My host and many others are requiring us to upgrade to PHP 7.2 by 12/31/18 since PHP 7 will be unsupported thereafter.
When will your plugin be 7.2 ready?
Deprecated code warnings:
FILE: /nas/content/live/medicarebeauty/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.at.php
——————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————–
64 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
——————————————————————————————————————–FILE: /nas/content/live/medicarebeauty/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.ip.apnic.php
————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————————–
76 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
————————————————————————————————————————–FILE: /nas/content/live/medicarebeauty/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.ip.afrinic.php
—————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————————-
63 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
—————————————————————————————————————————-FILE: /nas/content/live/medicarebeauty/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.utils.php
———————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————–
116 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
———————————————————————————————————————–FILE: /nas/content/live/medicarebeauty/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.nu.php
——————————————————————————————————————–
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
——————————————————————————————————————–
46 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
54 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
66 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
——————————————————————————————————————–FILE: /nas/content/live/medicarebeauty/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.client.php
————————————————————————————————————————
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
————————————————————————————————————————
328 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
364 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
523 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
————————————————————————————————————————FILE: /nas/content/live/medicarebeauty/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.gtld.fastdomain.php
———————————————————————————————————————————
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
———————————————————————————————————————————
51 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
68 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
———————————————————————————————————————————FILE: /nas/content/live/medicarebeauty/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.parser.php
————————————————————————————————————————
FOUND 0 ERRORS AND 9 WARNINGS AFFECTING 9 LINES
————————————————————————————————————————
46 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
77 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
344 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
358 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
416 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
466 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
612 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
621 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
835 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
————————————————————————————————————————FILE: /nas/content/live/medicarebeauty/wp-content/plugins/all-in-one-wp-security-and-firewall/lib/whois/whois.zanet.php
———————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————–
53 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
———————————————————————————————————————–
- The topic ‘Plugin Not Compatible With PHP 7.2’ is closed to new replies.