Fatal Error
-
Hello,
I submitted a support ticket last week on your website and never got a response. However, I use the free version of this plugin so I will post here.
When clicking on the 2FA Policies link, at the bottom of that window after select the methods of the 2FA policy that you want by checking either 1 or both of the boxes, there is a message that says,
“There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about troubleshooting WordPress.”
You can not save any settings that you change because there is no option to do so (because of the error). I deleted the plugin and all it’s data. Then, I re-installed and went through the Wizard Setup to set the 2FA policy I wanted. However, going to the 2FA Policies window still results in the fatal error message.
The plugin still works, I have it set to email verification. Though, sometimes the email takes a long time to be delivered, when clicking resend a couple of times, it then sends the email. The original email with the verification usually comes a day late. I believe it’s also related to the fatal error which is causing the late emails.
Here’s the log:
An error of type E_ERROR was caused in line 94 of the file /home/xxxx/public_html/wp-content/plugins/wp-2fa/includes/classes/Admin/Views/FirstTimeWizardSteps.php. Error message: Uncaught Error: Undefined constant "WP2FA\Admin\Views\php" in /home/xxxx/public_html/wp-content/plugins/wp-2fa/includes/classes/Admin/Views/FirstTimeWizardSteps.php:94 Stack trace: #0 /home/xxxx/public_html/wp-content/plugins/wp-2fa/includes/classes/Admin/SettingsPages/class-settings-page-policies.php(601): WP2FA\Admin\Views\FirstTimeWizardSteps::select_method(false) #1 /home/xxxx/public_html/wp-content/plugins/wp-2fa/includes/classes/Admin/SettingsPages/class-settings-page-policies.php(124): WP2FA\Admin\SettingsPages\Settings_Page_Policies->select_method_setting() #2 /home/xxxx/public_html/wp-includes/class-wp-hook.php(307): WP2FA\Admin\SettingsPages\Settings_Page_Policies->render('') #3 /home/xxxx/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #4 /home/xxxx/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #5 /home/xxxx/public_html/wp-admin/admin.php(259): do_action('toplevel_page_w...') #6 {main} thrownI use this 2FA plugin on 2 sites. One is an eCommerce site, which the plugin runs flawlessly and it’s compatible with Email Verification for WooCommerce. My other website is a BuddyPress/bbPress community which the fatal error is occurring. The site/theme uses default WordPress login/hooks so shouldn’t be an issue.
The topic ‘Fatal Error’ is closed to new replies.