• Hi.

    I’ve installed it and I am getting this error:

    Warning: A non-numeric value encountered in /homepages/41/xxx/htdocs/beag.co.at/wp-content/plugins/restricted-site-access/restricted_site_access.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/41/xxx/htdocs/beag.co.at/wp-content/plugins/restricted-site-access/restricted_site_access.php:235) in /homepages/41/xxx/htdocs/beag.co.at/wp-includes/pluggable.php on line 1216

    I’ve used the plugin before and any help would be appreciated.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Yes, same problem here.
    Actually this error create a big php_error.log, you need to delete if it is too big.

    The problem is with some PHP 7.* versions

    Solution: change the line 235 (edit manually) from restrited_site_access.php to:

    switch ( (int)$mask % 4 ) {

    Anyway the author of the Plugin should update it ?? … it is a very nice and useful plugin.

    esiddhi.com

    • This reply was modified 7 years, 2 months ago by esiddhi.
    litbea

    (@litbea)

    Thanks esiddhi, it worked like a charm!

    Gon?alo Figueiredo

    (@goncalovieirafigueiredo)

    Unfortunately this did not resolve it for me.

    The error is exactly the same. Also, it prevents me from previewing my site.

    Can someone post a solution?

    Thanks!

    • This reply was modified 7 years ago by .
    Gon?alo Figueiredo

    (@goncalovieirafigueiredo)

    I’m sorry, yes the solution provided by esiddhi works!

    Thanks!!

    Adam Silverstein

    (@adamsilverstein)

    This issue is resolved in the most recent version of the plugin.

    esiddhi

    (@esiddhi)

    Thanks ?? …. Great Plugin !!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Php Error’ is closed to new replies.