Title: Java error
Last modified: October 5, 2022

---

# Java error

 *  Resolved [Woozy Face](https://wordpress.org/support/users/shaady4/)
 * (@shaady4)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/)
 * On one of my sites I get this error `An error has occurred. Site owners can check
   the JavaScript console for more details.`
 * Not much to see there though

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

 *  Plugin Contributor [Prashant Baldha](https://wordpress.org/support/users/pmbaldha/)
 * (@pmbaldha)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16078909)
 * May I know when you get this error?
 * Can you please open the browser console and see any errors?
 *  Thread Starter [Woozy Face](https://wordpress.org/support/users/shaady4/)
 * (@shaady4)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16079055)
 * While I log in, so after pressing the login button. with not much to see there
   i meant in the error log.
 *  Plugin Contributor [Prashant Baldha](https://wordpress.org/support/users/pmbaldha/)
 * (@pmbaldha)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16082315)
 * This error is shown when the 2FA checking ajax call failed at login time.
 * It looks like the AIOS upgrade might be corrupted. If it is corrupted, you can
   download the AIOS plugin from [https://downloads.wordpress.org/plugin/all-in-one-wp-security-and-firewall.5.0.9.zip](https://downloads.wordpress.org/plugin/all-in-one-wp-security-and-firewall.5.0.9.zip)
   and upload the AIOS plugin again.
 * To rid of the error, you can disable the AIOS 2FA feature by adding below code
   line in the wp-config.php file:
 *     ```
       define('TWO_FACTOR_DISABLE', true);
       ```
   
 * Hope it helps you.
 *  Thread Starter [Woozy Face](https://wordpress.org/support/users/shaady4/)
 * (@shaady4)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16085952)
 * i’ve done the update and had already removed the line:
    `define('TWO_FACTOR_DISABLE',
   true);` But the issue still remains. This is the only website on which this issue
   is occurring, none of the others have this issue. Same server same settings.
 *  Thread Starter [Woozy Face](https://wordpress.org/support/users/shaady4/)
 * (@shaady4)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16087757)
 * I’m still awaiting your replay mr. [@pmbaldha](https://wordpress.org/support/users/pmbaldha/).
 *  Plugin Contributor [Prashant Baldha](https://wordpress.org/support/users/pmbaldha/)
 * (@pmbaldha)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16089686)
 * Please accept my apologies for the delay in the reply.
 * May I know if you have enabled the maintenance mode by ticking the “Enable Front-
   end Lockout” checkbox in the Admin dashboard > WP Security > Maintainance?
 * We have recently found a conflict between 2FA and maintenance mode. We have resolved
   it in our development version of the AIOS plugin. We will release it in the next
   couple of days and you will get a resolution to your issue.
 * In between, can you please retain the below code line to disable the 2FA feature
   on your site?
 *     ```
       define('TWO_FACTOR_DISABLE', true);
       ```
   
 * This code line will disable the 2FA feature on your site.
 * Thanks a lot.
 *  Thread Starter [Woozy Face](https://wordpress.org/support/users/shaady4/)
 * (@shaady4)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16090597)
 * [https://downloads.wordpress.org/plugin/all-in-one-wp-security-and-firewall.5.0.10.zip](https://downloads.wordpress.org/plugin/all-in-one-wp-security-and-firewall.5.0.10.zip)
   had been downloaded, that must be the correct development version right?
 * Sorry that I did that hacky download trick, but I rather have things fixed then
   I have them disabled, especially when it comes to security.
 *  Plugin Contributor [Prashant Baldha](https://wordpress.org/support/users/pmbaldha/)
 * (@pmbaldha)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16091407)
 * No, it’s not a development version.
 * The development version of AIOS resided in the private GitLab repo. It is not
   accessible to the public.
 * We will release the new version 5.1.0 today.
 * Thank you.
 *  Thread Starter [Woozy Face](https://wordpress.org/support/users/shaady4/)
 * (@shaady4)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16091690)
 * Can you share it already maybe? So I can continue to work please.
 *  Thread Starter [Woozy Face](https://wordpress.org/support/users/shaady4/)
 * (@shaady4)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16092994)
 * Please…….. or at what time will it be public?
 *  Thread Starter [Woozy Face](https://wordpress.org/support/users/shaady4/)
 * (@shaady4)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16093015)
 * >  define(‘TWO_FACTOR_DISABLE’, true);
 * Does not take any effect as well…
 *  Plugin Contributor [Prashant Baldha](https://wordpress.org/support/users/pmbaldha/)
 * (@pmbaldha)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16093068)
 * Very very sorry for your inconvenience.
 * You can download the AIOS development version from [https://drive.google.com/file/d/1vE93u9OrS_O2_WatIJoJcpBzomc8zu-s/view?usp=sharing](https://drive.google.com/file/d/1vE93u9OrS_O2_WatIJoJcpBzomc8zu-s/view?usp=sharing).
 * Thank you.

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

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

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [Prashant Baldha](https://wordpress.org/support/users/pmbaldha/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/java-error-13/#post-16093068)
 * Status: resolved