wp-ban icon indicating copy to clipboard operation
wp-ban copied to clipboard

Showing a error message to banned visitors, when they visiting...

Open buyacsgo opened this issue 9 years ago • 10 comments

When banned viewer visited my site showing this error to banned visitors.

Notice: Undefined index: 113.70..* in /home/buyacsgo/public_html/wp-content/plugins/wp-ban/wp-ban.php on line 78

buyacsgo avatar Sep 10 '16 22:09 buyacsgo

Try download and replace wp-ban.php https://github.com/lesterchan/wp-ban/raw/master/wp-ban.php

I have fix the notices few weeks back but have not released it yet.

lesterchan avatar Sep 13 '16 02:09 lesterchan

Yeah i know you have fixed "Notice: Undefined index:" I was reported that issue and this is another issue showing to banned user when they are visiting. I have edited my .php and replaced your new code which you fixed 1-2 week(s) ago. Please kindly release a new version.

This this error: Notice: Undefined index: 113.70..* in /home/buyacsgo/public_html/wp-content/plugins/wp-ban/wp-ban.php on line 78

This is the link of my last issue:- https://wordpress.org/support/topic/showing-this-errors-when-im-adding-or-removing-ip-from-ban-list/

when you suggested to use this plugin https://github.com/lesterchan/wp-ban/archive/master.zip this plugin not working for me !

buyacsgo avatar Sep 13 '16 06:09 buyacsgo

You are using an older version because Line 78 is no longer matches in the upcoming version. https://github.com/lesterchan/wp-ban/blob/master/wp-ban.php#L78

What is not working? Can u be more specific?

You are supposed to download the zip file, extract it and overwrite the files to your ftp folder /wp-content/plugins/wp-ban/

lesterchan avatar Sep 13 '16 06:09 lesterchan

Well after replace .php (from wp-ban.php https://github.com/lesterchan/wp-ban/raw/master/wp-ban.php) showing another error to banned visitor. #line 95

Notice: Undefined index: 1.186..* in /home/buyacsgo/public_html/wp-content/plugins/wp-ban/wp-ban.php on line 95

buyacsgo avatar Sep 13 '16 08:09 buyacsgo

Try again! It is fixed (the notices).

The other notice on your site might be due to a plugin conflict, nothing much I can do on my end. Since it is pointing to another plugin.

lesterchan avatar Sep 13 '16 08:09 lesterchan

Should I use this ? https://github.com/lesterchan/wp-ban/raw/master/wp-ban.php

buyacsgo avatar Sep 13 '16 09:09 buyacsgo

Yeap, same link

lesterchan avatar Sep 13 '16 09:09 lesterchan

If you don't mine can you visit our site and use live chat ? please !! When you will visit let me know in LIVE CHAT, I will ban you IP then visit again and see what error message is showing. Please I changed .php from Plugins -> wp-ban -> edit and uploaded your code

buyacsgo.com

buyacsgo avatar Sep 13 '16 09:09 buyacsgo

Done.

lesterchan avatar Sep 14 '16 03:09 lesterchan

Can you visit now please ? I'm online now !

buyacsgo avatar Sep 14 '16 07:09 buyacsgo