• Resolved cjhaas

    (@chrisvendiadvertisingcom)


    We’re getting the error Undefined index: log on line 101 of wp-security-audit-log/classes/Sensors/LogInOut.php on the general login screen regardless of whether or not a POST actually even happens. We only get this on a rather complex site with lots of code so I’m still digging deeper but for now my solution was to change 101 to be:

    $username = array_key_exists( 'log', $_POST ) ? $_POST["log"] : '';

    https://www.ads-software.com/plugins/wp-security-audit-log/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Hello,

    Thank you for using the plugin.

    You said that you are running the plugin on a rather complex site. By any chance do you have code customization on WordPress? If so did you customize the login page or something related to it? Or do you have any plugin that it is doing some changes to components related to the login?

    Hi, we have also the same issue and the solution above proposed by cjhass resolved the problem. Could you add the fix to the next release of the plugin? I mention that we are using multisite istallation with domain mapping plugin and login by SSL secure connection, we don’t have any plugin modifying login page.

    2015/12/26 19:38:21 [error] 5755#0: *368577 FastCGI sent in stderr: "/Sensors/LogInOut.php on line 101
    PHP message: PHP Notice:  Undefined index: log in /home/docroot/wp-content/plugins/wp-security-audit-log/classes/Sensors/LogInOut.php on line 101
    Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Hello PiotrPress,

    We just fixed this issue in the latest 2.3.2 release.

    Thank you for reporting it and should you have any further queries, do not hesitate to get in touch.

    Have a good day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined index: log’ is closed to new replies.