WordPress.org

Ready to get started?Download WordPress

Forums

WP Security Audit Log
[resolved] Errors on 'Enable/Disable Alerts' page (4 posts)

  1. Sjourney
    Member
    Posted 10 months ago #

    Running Version 0.4
    When opening 'Enable/Disable Alerts' page I see these errors:

    Warning: array_keys() expects parameter 1 to be array, null given in wp-content/plugins/wp-security-audit-log/pages/alerts.php on line 21

    Warning: array_keys() expects parameter 1 to be array, null given in wp-content/plugins/wp-security-audit-log/pages/alerts.php on line 95

    Warning: Invalid argument supplied for foreach() in wp-content/plugins/wp-security-audit-log/pages/alerts.php on line 97

    Warning: Invalid argument supplied for foreach() in wp-content/plugins/wp-security-audit-log/pages/alerts.php on line 106

    http://wordpress.org/plugins/wp-security-audit-log/

  2. Sjourney
    Member
    Posted 10 months ago #

    BTW, running WP 3.6.1

    Update: What's disconcerting is that there have been multiple events showing someone has tried to login to the site using the correct login name but unsuccessfully guessing the password.

    I took a look at the code and it seems to be showing that on line #18 $opt is not inheriting the object data from WPPH::getPluginSettings();
    Which breaks #19 and #21 and later #97

    18 $opt = WPPH::getPluginSettings();
    19 $logEvents = $opt->logEvents;
    20 $validationMessage = array();
    21 $sectionNames = array_keys($logEvents);
    22 $activeTab = 0;
    23 $rm = strtoupper($_SERVER['REQUEST_METHOD']);
  3. WPWhiteSecurity
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Sjourney,

    Thank you for showing interest in our plugin and for pointing this issue out.

    We fixed the issue and the fix shall be available in the upcoming build of the plugin, which should be available in a week or two.

    Should you have any further queries, do not hesitate to contact us.

    Have a great day!

  4. Sjourney
    Member
    Posted 9 months ago #

    I've needed disable and remove the plugin because I would get PHP errors when I tried to login to the admin panel. I had to login via cpanel, rename the plugin dir, then access the WP admin plugin page and deactive/remove the plugin because of this.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.