tokkonopapa / WordPress-IP-Geo-Block

A WordPress plugin that will blocks any comment, pingback and trackback spams posted from outside your nation. And it will also protect against malicious access to the login form, admin area and XML-RPC from undesired countries.
http://www.ipgeoblock.com/
29 stars 14 forks source link

Website no longer responding, fixed by disabling plugin #56

Closed wilwet closed 5 years ago

wilwet commented 5 years ago

The website stoped responding without any changes.

[Mon Dec 31 08:26:01.286164 2018] [lsapi:error] [pid 474884:tid 139839718479616] [client 192.192.192.192:1506] [host www.example.com] Backend fatal error: PHP Fatal error: Uncaught Error: Unsupported operand types in /home/deb50552n2/domains/example.com/public_html/wp-content/plugins/ip-geo-block/classes/class-ip-geo-block.php:968\nStack trace:\n#0 /home/deb50552n2/domains/example.com/public_html/wp-includes/class-wp-hook.php(286): IP_Geo_Block->check_capability(Array, Array, 'wp_user_roles')\n#1 /home/deb50552n2/domains/example.com/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)\n#2 /home/deb50552n2/domains/example.com/public_html/wp-includes/option.php(312): apply_filters('pre_update_opti...', Array, Array, 'wp_user_roles')\n#3 /home/deb50552n2/domains/example.com/public_html/wp-includes/class-wp-roles.php(208): update_option('wp_user_roles', Array)\n#4 /home/deb50552n2/domains/example.com/public_html/wp-includes/class-wp-role.php(58): WP_Roles->add_cap('administrator', 'access_server_b...', true)\n#5 /home/deb50552n2/domains/example.com/public_html/wp-content/plugins/download-manager/libs/class.Apply.php(495): WP_Role->add_cap('access_server_b...')\n#6 /home/deb50552n2/doma in /home/deb50552n2/domains/example.com/public_html/wp-content/plugins/ip-geo-block/classes/class-ip-geo-block.php on line 968\n

tokkonopapa commented 5 years ago

Hi @wilwet ,

Sorry for the issue. Could you try the version 3.0.17.3? The fatal error may be fixed, but something might be blocked. So please keep watching what request would be blocked.

Thanks for reporting.

wilwet commented 5 years ago

Version 3.0.17.3 seems to do the trick. Thank you for the swift fix.

tokkonopapa commented 5 years ago

Thanks for the feedback!