• this error

    PHP Fatal error: Call to undefined function is_error () in /home/mysite/public_html/wp-content/plugins/better-wp-security/core/class-itsec-files.php on line 437

    I shuts site
    the last two days has happened several times
    I also have the function of hide back end

    now I need to connect to solve it via ftp eliminate the portion of the code

    # BEGIN iThemes Security – Do not modify or remove this line
    # IThemes Security Config Details: 2
    # Quick ban IP. Will be updated on next formal rules save.
    SetEnvIf REMOTE_ADDR “^ 196 \ .31 \ .40 \ .34 $” DenyAccess
    SetEnvIf X-FORWARDED-FOR “^ 196 \ .31 \ .40 \ .34 $” DenyAccess
    SetEnvIf X-CLUSTER-CLIENT-IP “^ 196 \ .31 \ .40 \ .34 $” DenyAccess
    <IfModule mod_authz_core.c>
    <RequireAll>
    Require all granted
    Require not env DenyAccess
    Require not ip 196.31.40.34
    </ RequireAll>
    </ IfModule>
    <IfModule! Mod_authz_core.c>
    Order allow, deny
    Deny from env = DenyAccess
    Deny from 196.31.40.34
    Allow from all
    </ IfModule>
    # END iThemes Security – Do not modify or remove this line

    how to solve the problem?
    my confguration WordPress 4.2.2
    iThemes security Version 4.8.0

    https://wordpress.org/plugins/better-wp-security/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Read the first 5 posts in this forum and there is a good chance you’ll find a solution for this issue.

    dwinden

    Are you using Apache 2.2 or 2.4 ?

    Make sure you have the Apache setenvif module loaded.

    dwinden

    Thread Starter fm43100

    (@fm43100)

    Apache/2.2.16 (Debian) and setenvif loaded

    Thread Starter fm43100

    (@fm43100)

    i try add
    AllowOverride FileInfo Limit

    and now i have this error

    Expected </RequireAll> but saw <>

    I didn’t notice this before but there seem to be spaces where they shouldn’t be. Not even sure whether this is a problem or not …

    </ RequireAll> -> </RequireAll>
    </ IfModule> -> </IfModule>
    <IfModule! Mod_authz_core.c>
    Order allow, deny
    Deny from env = DenyAccess
    Deny from 196.31.40.34
    Allow from all
    </ IfModule> -> </Ifmodule>

    If these spaces are really there in the .htaccess file please remove them
    and see whether that makes any difference.

    dwinden

    I’ve done a quick Apache .htaccess test and can confirm Apache doesn’t like </ RequireAll> or </ IfModule> entries …

    Apache will indeed generate a 500 Internal Server Error …

    The big question is where are those spaces coming from ?

    dwinden

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Internal Server Error with Quick ban IP’ is closed to new replies.