Title: wpnonce error
Last modified: November 15, 2020

---

# wpnonce error

 *  Resolved [manu9912](https://wordpress.org/support/users/manu9912/)
 * (@manu9912)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/wpnonce-error/)
 * Hello, good morning, add several custom js, they work a few minutes and then 
   they stopped working and in the console I get this error “[DOM] Found 2 elements
   with non-unique id #_wpnonce:”, from what I understand it is something of security.
   
   The hidden imput appears 2 times with id = “_wpnonce”, but with a different value.
 * Thank you so much

Viewing 1 replies (of 1 total)

 *  Plugin Author [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * (@diana_burduja)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/wpnonce-error/#post-13667466)
 * [wpnonces](https://codex.wordpress.org/WordPress_Nonces) are common WordPress
   security tokens for protecting against cross-site request forgery attacks.
 * Where do you get the error in the console? On the frontend where the JS custom
   codes should show up or on the “Edit Custom JS” page in the admin?

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/custom-css-js/assets/icon-128x128.png?rev=1303730)
 * [Simple Custom CSS and JS](https://wordpress.org/plugins/custom-css-js/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-css-js/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-css-js/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-css-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-css-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-css-js/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [SilkyPress](https://wordpress.org/support/users/diana_burduja/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/wpnonce-error/#post-13667466)
 * Status: resolved