Title: Uncaught ReferenceError: message is not defined
Last modified: September 5, 2021

---

# Uncaught ReferenceError: message is not defined

 *  Resolved [Ahmed Diaa](https://wordpress.org/support/users/adya2/)
 * (@adya2)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-message-is-not-defined/)
 * Dears, I am facing an issue while register a new user after pressing register
   nothing happens the console log shows the below:
 *     ```
       login.1629122067.js?ver=1.0.8:62 Uncaught ReferenceError: message is not defined
           at showLoginMessage (login.1629122067.js?ver=1.0.8:62)
           at Object.success (login.1629122067.js?ver=1.0.8:156)
           at c (jquery.min.js?ver=3.6.0:2)
           at Object.fireWith [as resolveWith] (jquery.min.js?ver=3.6.0:2)
           at l (jquery.min.js?ver=3.6.0:2)
           at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.6.0:2)
       showLoginMessage @ login.1629122067.js?ver=1.0.8:62
       success @ login.1629122067.js?ver=1.0.8:156
       c @ jquery.min.js?ver=3.6.0:2
       fireWith @ jquery.min.js?ver=3.6.0:2
       l @ jquery.min.js?ver=3.6.0:2
       (anonymous) @ jquery.min.js?ver=3.6.0:2
       load (async)
       send @ jquery.min.js?ver=3.6.0:2
       ajax @ jquery.min.js?ver=3.6.0:2
       s.ajax.s.ajax @ jquery-migrate.min.js?ver=3.3.2:2
       wfls_query_ajax @ login.1629122067.js?ver=1.0.8:144
       (anonymous) @ login.1629122067.js?ver=1.0.8:267
       dispatch @ jquery.min.js?ver=3.6.0:2
       v.handle @ jquery.min.js?ver=3.6.0:2
       ```
   
 * after disabling the plugin it works but I cannot leave the site unprotected
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-referenceerror-message-is-not-defined%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-message-is-not-defined/#post-14845769)
 * Hi [@adya2](https://wordpress.org/support/users/adya2/),
 * Despite disabling Wordfence clearing this error, it could be a plugin conflict.
   Could you please confirm to me whether this error presents when Wordfence is 
   the **only** active plugin? You can install a maintenance mode plugin if visitors
   are likely to be affected.
 * If the error doesn’t present, reenable your other plugins one-by-one to see when
   the error reoccurs. If it still errors with only Wordfence, please can you send
   a diagnostic report to **wftest @ wordfence . com**? You can find the link to
   do so at the top of the **Wordfence Tools > Diagnostics** page. Then click on**“
   Send Report by Email”**. Please add your forum username where indicated and _respond
   here after you have sent it._
 * _**Note:** For the fastest response time, please make sure and add any information
   or questions directly to this topic and not the email address above unless asked._
 * Thanks,
 * Peter.
 *  Thread Starter [Ahmed Diaa](https://wordpress.org/support/users/adya2/)
 * (@adya2)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-message-is-not-defined/#post-14849812)
 * Hi [@wfpeter](https://wordpress.org/support/users/wfpeter/) I have done what 
   you suggested Disabled all Plugins and keep WF only but still the same
    I have
   sent the Diagnostics Email and waiting for your feedback
 * Regards
 *  Thread Starter [Ahmed Diaa](https://wordpress.org/support/users/adya2/)
 * (@adya2)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-message-is-not-defined/#post-14850792)
 * Hello [@wfpeter](https://wordpress.org/support/users/wfpeter/) i have an update
   that might be useful
 * i have disabled “Enable WooCommerce integration”
 * and it seems to be fine now I’ll keep it disabled -unless you recommend not to-
   till we find the solution for this behavior
 * Regards

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

The topic ‘Uncaught ReferenceError: message is not defined’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ahmed Diaa](https://wordpress.org/support/users/adya2/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-message-is-not-defined/#post-14850792)
 * Status: resolved