Several issues/warnings
-
Hi Brijesh,
I tested your plugin on localhost and online (WordPress 4.0.1 and 4.1).
At first, I’ve enabled the plugin for my whole WordPress multisite. It’s not possible to add addresses to the whole network/multisite at once. So I went to one of the sites within the network, but wasn’t able to add an IP range (a message told me that an error occurred).
Then I deactivated the plugin and activated it on a single site only; now I was able to add an IP, but when I visit the site (frontend and /wp-admin/), I get those notices/warnings:
Notice: get_userdatabylogin is deprecated since version 3.3! Use get_user_by(‘login’) instead. in …/wordpress/wp-includes/functions.php on line 3378
Warning: Cannot modify header information – headers already sent by (output started at …/wordpress/wp-includes/functions.php:3378) in …/wordpress/wp-includes/pluggable.php on line 918
(The latter also appears on line 919, 920 and 1178.)
Then I tested the plugin on my local test environment and got the following error:
Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in …/wordpress/wp-content/plugins/ip-based-login/ip-based-login.php on line 209
Would be great when you fix those errors and make the plugin work with WordPress Multisites.
Best regards,
Kevin
- The topic ‘Several issues/warnings’ is closed to new replies.