• Resolved atheneit

    (@atheneit)


    When I try to update (regenerate) security keys I get this error message:

    “Defender can’t recognize your wp-config.php, please revert it to original state for further process.”

    Do you have any idea about what is wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @atheneit

    This is happening because wp-config.php doesn’t use the proper format, most probably it’s been edited by hosting provider or another user that has file access on server.

    An example of a default file should contain salt keys like this:

    /**
     * Authentication Unique Keys and Salts.
     *
     * Change these to different unique phrases!
     * You can generate these using the {@link https://api.www.ads-software.com/secret-key/1.1/salt/ www.ads-software.com secret-key service}
     * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
     *
     * @since 2.6.0
     */
    define('AUTH_KEY',         'Op40OyhnJycYmr2E9EfZWenJOR9Y4XrejB6jPzfiHskH0UafZdDlp4VH8m3k+KDngQ77xqhvskXq6Xxxxxxxxxxx');
    define('SECURE_AUTH_KEY',  'VaT1KRQNaI3+wc4uNpa3/1U1GM34JwZM5kKtL1RYFd41uLnmHUV/PEz/HHCks4Wn175zK5GJr2O7HGxxxxxxxxxx');
    define('LOGGED_IN_KEY',    'PeOeZKiQceKsEXjpnqBXpuDBLsRGgoVMRmiiW00RxXZeZ7O2YAcS25vGDzK0iR4j4dRImqkymOAoi7xxxxxxxxxx');
    define('NONCE_KEY',        '9+7SfO1kgs/cMT5RlZgT7TInWJjq3N6pFMWgrXkLXesDsjS3sG+PuelR5ilojNUMIdt0+5SbJScdqbxxxxxxxxxx');
    define('AUTH_SALT',        'XdulFWVPLMzTE4CYcUqiQiliWujhYS8kCOkLCllyRHXPrNusTiBEsHczz+Gioo8ApWCD11frFrx8slxxxxxxxxxx');
    define('SECURE_AUTH_SALT', 'gCSiyAJfm2wyduNZ2oobaUjGUh4QdegkfB5ikoyTplt2fTOgAfwZ4jwzcRVJAn150weI/EPY0rQpDNxxxxxxxxxx');
    define('LOGGED_IN_SALT',   'b0W+gYz42v5YgkoM1w44ID7krVuQ7ukQrAMlv2D3QlsCkGrpprw/1xA2rgk78tQ35Ris3HyL4Wz0Kvxxxxxxxxxx');
    define('NONCE_SALT',       '1+Ku1eFUyo3Jm60aEnVzV8y3RtwhijvoJRYd9Ki4dB/tYTYy7b+DfYQz7iHwgnwbdTqUsqtnn/TFdixxxxxxxxxx');
    

    Can you please double-check that the comments section is indeed in the wp-config.php above the salt keys?

    If this doesn’t make any difference, please strip any sensitive information from that file and share it here with us in your next reply.

    Thank you,
    Dimitris

    Thread Starter atheneit

    (@atheneit)

    Hi,

    Thank you for your response and suggestions for resolving my problem. It led me to a solution as suggested.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when updating security keys’ is closed to new replies.