Title: Recurring error
Last modified: July 15, 2022

---

# Recurring error

 *  Resolved [FR_lucien](https://wordpress.org/support/users/fr_lucien/)
 * (@fr_lucien)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/recurring-error-3/)
 * Hi dear support,
 * I get error notifications every time I log in as an administrator.
 *  An error of type E_ERROR has been caused in line 44 of the file /*/*/*/* /wp-
   content/plugins/ninjafirewall/lib/email_sodium.php. Error message : Uncaught 
   Error: Undefined constant “AUTH_KEY” in /wp-content/plugins/ninjafirewall/lib/
   email_sodium.php:44
 * On the other hand, the plugin is working without any problem.
 * I don’t know how to interpret this error, if it is one.
 * Thanks for any help on this matter.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/recurring-error-3/#post-15830234)
 * AUTH_KEY is a constant defined in your wp-config.php.
    Can you check if you see
   it? It should look like that in wp-config.php:
 *     ```
       define('AUTH_KEY',         'some-random-characters-here');
       define('SECURE_AUTH_KEY',  'some-random-characters-here');
       define('LOGGED_IN_KEY',    'some-random-characters-here');
       define('NONCE_KEY',        'some-random-characters-here');
       define('AUTH_SALT',        'some-random-characters-here');
       define('SECURE_AUTH_SALT', 'some-random-characters-here');
       define('LOGGED_IN_SALT',   'some-random-characters-here');
       define('NONCE_SALT',       'some-random-characters-here');
       ```
   
 *  Thread Starter [FR_lucien](https://wordpress.org/support/users/fr_lucien/)
 * (@fr_lucien)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/recurring-error-3/#post-15832639)
 * Hello,
    Thank you for your answer. The keys have been in the file for a long 
   time. I renewed them, the error is no longer displayed. The regenerated keys 
   have their names in upper case, whereas they were previously in lower case. Is
   this the reason?
 * Do these keys have to be renewed periodically?
 *  Plugin Author [nintechnet](https://wordpress.org/support/users/nintechnet/)
 * (@nintechnet)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/recurring-error-3/#post-15834553)
 * Yes it is, because constants and variables are case-sensitive.
 * Keys are secret, hence they must be renewed if someone you don’t trust accessed
   them (hacked site etc).
 *  Thread Starter [FR_lucien](https://wordpress.org/support/users/fr_lucien/)
 * (@fr_lucien)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/recurring-error-3/#post-15835915)
 * Hello
    thank you very much, the problem is solved now.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Recurring error’ is closed to new replies.

 * ![](https://ps.w.org/ninjafirewall/assets/icon-256x256.png?rev=976137)
 * [NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall](https://wordpress.org/plugins/ninjafirewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninjafirewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninjafirewall/)
 * [Active Topics](https://wordpress.org/support/plugin/ninjafirewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninjafirewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninjafirewall/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [FR_lucien](https://wordpress.org/support/users/fr_lucien/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/recurring-error-3/#post-15835915)
 * Status: resolved