Title: Got error &#8216;PHP message: PHP Warning:
Last modified: October 29, 2021

---

# Got error ‘PHP message: PHP Warning:

 *  Resolved [Vivek Narayanankutty Nair](https://wordpress.org/support/users/vismithams/)
 * (@vismithams)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/got-error-php-message-php-warning/)
 * Getting this error repeatedly on my webapp
 * Got error ‘PHP message: PHP Warning: Use of undefined constant AUTH_SALT – assumed‘
   AUTH_SALT’
 * this the full line of latest error from our apache error log;
 * `[Fri Oct 29 04:32:34.222747 2021] [proxy_fcgi:error] [pid 86878:tid 140086213547776][
   client 66.249.71.135:0] AH01071: Got error 'PHP message: PHP Warning: Use of 
   undefined constant AUTH_SALT - assumed 'AUTH_SALT' (this will throw an Error 
   in a future version of PHP) in /home/runcloud/webapps/app-skiles/wp-content/plugins/
   shopmagic-for-woocommerce/src/Frontend/Interceptor/CurrentCustomer.php on line
   78PHP message: PHP Warning: Use of undefined constant AUTH_SALT - assumed 'AUTH_SALT'(
   this will throw an Error in a future version of PHP) in /home/runcloud/webapps/
   app-skiles/wp-content/plugins/shopmagic-for-woocommerce/src/Frontend/Interceptor/
   CurrentCustomer.php on line 78'`

Viewing 1 replies (of 1 total)

 *  Plugin Support [damianmachnik](https://wordpress.org/support/users/damianmachnik/)
 * (@damianmachnik)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/got-error-php-message-php-warning/#post-15017888)
 * Hi [@vismithams](https://wordpress.org/support/users/vismithams/)
 * If the AUTH_SALT is not defined, your WordPress site is vulnerable. This constant
   is defined by WordPress core and put into the wp-config to salt the password 
   fields before saving them to the database, making it harder to reverse engineer
   passwords from a stolen database.
 * All WordPress sites are supposed to have this constant, as such it’s not something
   ShopMagic can fix.
 * Using something like [https://www.wpbeginner.com/wp-tutorials/how-to-automatically-change-wordpress-salt-keys/](https://www.wpbeginner.com/wp-tutorials/how-to-automatically-change-wordpress-salt-keys/)
   might resolve this issue.

Viewing 1 replies (of 1 total)

The topic ‘Got error ‘PHP message: PHP Warning:’ is closed to new replies.

 * ![](https://ps.w.org/shopmagic-for-woocommerce/assets/icon-256x256.png?rev=2847401)
 * [ShopMagic - email automation](https://wordpress.org/plugins/shopmagic-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shopmagic-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shopmagic-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [damianmachnik](https://wordpress.org/support/users/damianmachnik/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/got-error-php-message-php-warning/#post-15017888)
 * Status: resolved