When you activate the plugin form your WordPress Dashboard and then some time it shows the error

Error : You do not have sufficient permissions to access this page

Then what to do?

Just go through the following steps :-

1) Open wp-config.php file using your favorite editor and

find the below content and replace it with the keys as below mentioned :-

define(‘AUTH_KEY’, ‘put your unique phrase here’);define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);

define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);

define(‘NONCE_KEY’, ‘put your unique phrase here’);

2) It looks like as

define(‘AUTH_KEY’, ‘xzjop11ocq4p25xgp4zy3g2c8zpnrvosvpq6zgethmcjs2xfr 0dhc8qnwzqaie3s’);define(‘SECURE_AUTH_KEY’, ‘slsklt2pnzem3xuqnhxtdqmb6qaofqz1myvuztkynorhijoak occ27vbgmbr6lj3’);

define(‘LOGGED_IN_KEY’, ‘zsixqmsi1xrfuuyzqxnqxccf5lmdvcozyqho9ut6c8j4yeq2r eh07nhjsatzglyx’);

define(‘NONCE_KEY’, ‘qglsgzmyywgnfgf8svlye2rdlp42aeyh599hkyjcl7bekfw6o uwirxtiabp57mfs’);

define(‘AUTH_SALT’, ‘wyc0fbiwzkwqljfyngcfx8w7k1wjis8tgpe8ypqzyc88zoy2l uyqekpyro689qgl’);

define(‘SECURE_AUTH_SALT’, ‘aum1i4ubnamlxnq7mwbbzgydlcywre8rb39pp7x5qw7ujsaj5 enc6cegictqv6qz’);

define(‘LOGGED_IN_SALT’, ‘grqghuz8jhct4ytofzfxqyhqn5kfaka5cbi1qoq5hq3gy8vwc kflu1afeyv3ls98’);

define(‘NONCE_SALT’, ‘z5qo3qdimktw0kucvhcepw52zrdpwlile9cmh3ral9orwcvv5 vhvmrufnefao2hk’);

Save the file and that’s it.

3) You think how to get this unique codes?

4) You can generate your new auth code via below URL:-

https://api.wordpress.org/secret-key/1.1/salt/