WordPress.org

Ready to get started?Download WordPress

Forums

Sucuri Security - Auditing, Malware Scanner and Hardening
[resolved] BUG: "last logins" doesnt work since 1.4.5 (6 posts)

  1. karlrt
    Member
    Posted 1 year ago #

    The "show last logins link" on the dashboard says I do not have the rights to access the page.

    My apache error.log is throwing the following error anytime an admin is logged in and accesses the backend:

    [Sun Sep 01 11:06:22 2013] [error] [client 86.32.214.149] WordPress-Datenbank-Fehler Duplicate key name 'id' f\xc3\xbcr Abfrage ALTER TABLE wp_sucuri_lastlogins ADD UNIQUE KEY id(id) von require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, sucuriscan_lastlogins_table_exists, dbDelta, W3_Db->query, W3_DbCache->query, W3_DbCallUnderlying->query, W3_Db->query, W3_DbProcessor->query, W3_Db->default_query, referer: http://www.mydomain.com/wp-admin/admin.php?page=sucuriscan

    http://wordpress.org/plugins/sucuri-scanner/

  2. fisnollo
    Member
    Posted 1 year ago #

    Me too. I have hundreds of these errors in my logs:

    WordPress database error Duplicate key name 'id' for query ALTER TABLE wp_sucuri_lastlogins ADD UNIQUE KEY id(id) made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, sucuriscan_lastlogins_table_exists, dbDelta

  3. Wrenshaw16
    Member
    Posted 1 year ago #

    Same here.

  4. Daniel Cid
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry about that. Can you try the latest version? It should have fixed it.

    thanks,

  5. Remco Tolsma
    Member
    Posted 12 months ago #

    Maybe this issue is also related to the topic i just created:
    http://wordpress.org/support/topic/last-login-table-version-never-updated-major-performance-issue?replies=1

    This isn't fixed in the latest version 1.4.6, would be nice if you can fix this asap.

  6. Daniel Cid
    Member
    Plugin Author

    Posted 12 months ago #

    It should be fixed now. We re-did the code to be more simple and avoid those issues you were having.

    thanks,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic