Undefined constant “WP2FA\Admin\Views\php”
-
Hey, thanks so much for the plugin its been working good for a few months now, but today when I navigate to the 2FA panel on the wordpress site its giving an error and the wordpress recovery email was also sent.
WordPress version 5.8.3 Current theme: GeneratePress (version 3.1.1) Current plugin: WP 2FA - Two-factor authentication for WordPress (version 2.1.0) PHP version 8.0.14 Error Details ============= An error of type E_ERROR was caused in line 94 of the file /wp-content/plugins/wp-2fa/includes/classes/Admin/Views/FirstTimeWizardSteps.php. Error message: Uncaught Error: Undefined constant "WP2FA\Admin\Views\php" in /wp-content/plugins/wp-2fa/includes/classes/Admin/Views/FirstTimeWizardSteps.php:94 Stack trace: #0 /wp-content/plugins/wp-2fa/includes/classes/Admin/SettingsPages/class-settings-page-policies.php(601): WP2FA\Admin\Views\FirstTimeWizardSteps::select_method() #1 /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 /wp-includes/class-wp-hook.php(303): WP2FA\Admin\SettingsPages\Settings_Page_Policies->render() #3 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #4 /wp-includes/plugin.php(470): WP_Hook->do_action() #5 /wp-admin/admin.php(259): do_action() #6 {main} thrown
Not sure what the issue is but that is what is happening.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Undefined constant “WP2FA\Admin\Views\php”’ is closed to new replies.