Support » Plugin: Restricted Site Access » Error line visible in message page

  • Hi,

    I’m experiencing an error message when closing the website with the “show them a simple message” option and add an “Unrestricted IP addresses” to the list. Without an “unrestricted IP” there is no message, with any “unrestricted IP” the error occurs.

    An error line shows up on the message page, just above the message, saying:
    Warning: A non-numeric value encountered in …/restricted-site-access/restricted_site_access.php on line 235

    This error occurs either if I add the IP by pressing the “add my current ip” or typing by hand.

    The unrestricted list of IP does work as expected, allowing the whitelisted IPs to pass, but that message is very bad to see if reaching the website from another IP.

    Thanks for the support.

    Ben

    P.S. I’m running WP 4.8 and PHP 7.1.2

Viewing 2 replies - 1 through 2 (of 2 total)
  • thomasbonsirven

    (@thomasbonsirven)

    Hello,

    i have the same error.

    The problem is your php version.

    go to php 7.0, nothing error.. but th redirect to wp-login page is not work.

    go to 5.6 nothing problem..

    Need update the code.

    thomasbonsirven

    (@thomasbonsirven)

    Edit :

    Is all work on PHP 7.0.x my error is due to change url wp-login.

    How to change too for this work with a other link ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error line visible in message page’ is closed to new replies.