• Version of the plugin is 1.8.1. After I add a new account with password, I get this message:

    testuser has been added with an ID of .

    After that I look for any entries in the database and couldn’t find the table for the passwords.

    Looking at the error log, I found the following thing:

    WordPress database error Specified key was too long; max key length is 1000 bytes for query CREATE TABLE IF NOT EXISTS wp_password_vault_vault

    https://wordpress.org/plugins/password-vault/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Vladimir Vassilev

    (@vloo)

    Issue is with the indexes. Once I comment lines 42 to 47 and 66 to 71 in setup.php, and reinstall the plugin, missing tables (wp_password_vault_vault and wp_password_vault_deleted) appear and start working correctly. Please inspect the issue and let me know if you need more info on my environment (a common shared hosting) if you can’t reproduce the problem.

    Plugin Author mrdenny

    (@mrdenny)

    I believe this has been resolved as there’s checks in place to ensure that the values are short enough.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Accounts and passwords are not saved in database’ is closed to new replies.