mbrsolution on "[Plugin: All In One WP Security & Firewall] Call to undefined method WP_Http::is_ip_address() when browsing to wp-login.php"

ساخت وبلاگ

dailymo
Member
Posted 2 hours ago #

Hi,

I just upgraded to Version 4.1.1, and I'm now getting this error:

php-cgi: PHP Fatal error: Call to undefined method WP_Http::is_ip_address() in /wordpress/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-utility-ip-address.php on line 34

I'm currently using WordPress 3.6.1, and I believe WP_Http::is_ip_address() is only supported in WordPress 3.7.0 and beyond.

https://developer.wordpress.org/reference/classes/wp_http/is_ip_address/

I could modify wp-security-utility-ip-address.php to use a custom function like the one in the link above.

Is there a better way to address the error? Especially if I continue upgrading the plugin in the future?

Ray

https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/

Hi Ray, it would be in your best interest to upgrade your WordPress version to a much later date. Version 3.6.1 is far too old and very insecure in my humble opinion.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 286 تاريخ : جمعه 4 تير 1395 ساعت: 15:06