Title: Cannot click Buttons
Last modified: May 22, 2021

---

# Cannot click Buttons

 *  Resolved [wbenterprises](https://wordpress.org/support/users/wbenterprises/)
 * (@wbenterprises)
 * [5 years ago](https://wordpress.org/support/topic/cannot-click-buttons/)
 * Created a page for configuring 2FA for my users. When testing, I load the 2FA
   Setup page I’ve made and use the [wp-2fa-setup-form show_preamble=false] shortcode
   to produce the button [Configure 2FA]. However, clicking on it has no response.
   I have tested on Firefox and Chrome with no plugins installed. Nothing happens,
   like the script won’t execute. Please help. What am I doing wrong?

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

 *  Thread Starter [wbenterprises](https://wordpress.org/support/users/wbenterprises/)
 * (@wbenterprises)
 * [5 years ago](https://wordpress.org/support/topic/cannot-click-buttons/#post-14471629)
 * Also discovered this data from the Firefox Debugger whenever I click the button:
 *     ```
       Uncaught TypeError: this.modal is null
           value https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/micro-modal.js?ver=1.6.1:1
           show https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/micro-modal.js?ver=1.6.1:1
           <anonymous> https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/wp-2fa.js?ver=1.6.1:1
           jQuery 2
               dispatch
               handle
       micro-modal.js:1:19326
           value https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/micro-modal.js?ver=1.6.1:1
           show https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/micro-modal.js?ver=1.6.1:1
           <anonymous> https://www.[PRIVATE].com/wp-content/plugins/wp-2fa/dist/js/wp-2fa.js?ver=1.6.1:1
           jQuery 2
               dispatch
               handle
       ```
   
 *  Thread Starter [wbenterprises](https://wordpress.org/support/users/wbenterprises/)
 * (@wbenterprises)
 * [5 years ago](https://wordpress.org/support/topic/cannot-click-buttons/#post-14471632)
 * I am also using Ultimate Member v2.1.20 and mycred v2.1.0.3.
 * I have disabled minify in WP-Optimize, but I also tested with it enabled.
 *  [rochow](https://wordpress.org/support/users/rochow/)
 * (@rochow)
 * [5 years ago](https://wordpress.org/support/topic/cannot-click-buttons/#post-14474122)
 * I had this same issue.
 * I figured out the issue: the button will show, even though the modal does not
   exist. The conditionals don’t align.
 * This happened in particular when User is not required for 2FA
 *  Thread Starter [wbenterprises](https://wordpress.org/support/users/wbenterprises/)
 * (@wbenterprises)
 * [5 years ago](https://wordpress.org/support/topic/cannot-click-buttons/#post-14474574)
 * You’re right. By setting “Enforce 2fA on…” the modal functions as expected.
 * This appears to be a bug. Even if I do not require users to enable 2FA, but I
   offer them the option to set it up, the modal should function. Correct?
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [5 years ago](https://wordpress.org/support/topic/cannot-click-buttons/#post-14474768)
 * Hello [@wbenterprises](https://wordpress.org/support/users/wbenterprises/) and
   [@rochow](https://wordpress.org/support/users/rochow/)
 * Thank you for using WP 2FA. We have developed a patch to address this issue but
   have not released it yet. Can you please download this version of the plugin 
   and confirm to us that it solves the issue?
 * [https://www.wpwhitesecurity.com/downloads/support/wp-2fa_1-6-2-patch.zip](https://www.wpwhitesecurity.com/downloads/support/wp-2fa_1-6-2-patch.zip)
 * Looking forward to hearing from you.
 *  Thread Starter [wbenterprises](https://wordpress.org/support/users/wbenterprises/)
 * (@wbenterprises)
 * [5 years ago](https://wordpress.org/support/topic/cannot-click-buttons/#post-14524026)
 * Normally, I would be very happy to download and test the patch but I cannot this
   time due to the status of the site. I’ll leave it as-is and wait for the next
   opportunity to try the patch or the updated version. Apologies to you, and thank
   you for addressing this.
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [5 years ago](https://wordpress.org/support/topic/cannot-click-buttons/#post-14534229)
 * Hello [@wbenterprises](https://wordpress.org/support/users/wbenterprises/)
 * For the record, we have released the latest update of the plugin a few days ago
   which includes the fix. So please go ahead and update your copy of the plugin
   to address this issue.
 * Please let us know if you need anything else from our end.
 * Have a good day.

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

The topic ‘Cannot click Buttons’ is closed to new replies.

 * ![](https://ps.w.org/wp-2fa/assets/icon-256x256.png?rev=2961533)
 * [WP 2FA - Two-factor authentication for WordPress](https://wordpress.org/plugins/wp-2fa/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-2fa/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-2fa/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-2fa/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-2fa/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-2fa/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/cannot-click-buttons/#post-14534229)
 * Status: resolved