Support » Plugin: WP Activity Log » Duplicate log entries

  • Resolved OnePressTech

    (@timhibberd)


    On the latest version 2.6.1 when I sort on IP address I notice that all entries have one or more duplicates. Identical entries with identical timestamps. This is not an inconsistent effect…EVERY entry is duplicated.

    Duplicate Bug Screenshot

Viewing 4 replies - 16 through 19 (of 19 total)
  • Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Thank you @onepresstech. Please keep us posted.

    Thread Starter OnePressTech

    (@timhibberd)

    It only took me 15 minutes to verify my theory that this is likely a view code error. I changed wsal-items-per-page from 5000 to 10 and verified that there were only 10 entries in the database as expected.

    When I look at the 10 entries using different views I see a correct result when sorting by Code and by Date and duplicated entries with incorrect dates when I sort by Username or by SourceIP.

    I notice in AuditLogListView.php there are a number of “ToDo” comments related to…Sortable View based on Username or SourceIP…hmmm a bit suspicious!

    Can you guys take another look at AuditLogListView.php code. When you tried to reproduce this issue did you try it on multi-site on php7? There have been some changes in php7 related to the logic involved in the display of these sortable lists.

    Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Hello @onepresstech

    Sorry for the delay in replying. We have setup a test environment with multisite and PHP7 yet we are unable to reproduce the issue. So it seems the problem is very specific to your environment.

    Would you be able to run the website on a default team and with all other plugins disabled? That can help us determine if the issue is specific from our plugin or if it is being affected by something else.

    Looking forward to hearing from you.

    Plugin Author WPWhiteSecurity

    (@wpwhitesecurity)

    Hello @timhibberd

    Just checking if you managed to reproduce this issue and if you have more details for us.

    Looking forward to hearing from you.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Duplicate log entries’ is closed to new replies.