Title: FirstTimeWizardSteps.php Error
Last modified: January 24, 2022

---

# FirstTimeWizardSteps.php Error

 *  Resolved Anonymous User 20213223
 * (@anonymized-20213223)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/firsttimewizardsteps-php-error/)
 * Hello [@robert681](https://wordpress.org/support/users/robert681/), I have the
   same problem:
 * [Topic PHP-errors 260](https://wordpress.org/support/topic/php-errors-260/)
 * **Let me know if there’s anything I can help to fix this issue.**
 * WordPress version 5.8.3
    Current theme: Twenty Nineteen (version 2.1) Current
   plugin: WP2FA (version 2.1.0) PHP version 8.1.0
 *     ```
       An error of type E_ERROR was caused in line 94 of the file WP2FA/includes/classes/Admin/Views/FirstTimeWizardSteps.php. Error message: Uncaught Error: Undefined constant "WP2FA\Admin\Views\php" in WP2FA/includes/classes/Admin/Views/FirstTimeWizardSteps.php:94
       Stack trace:
       #0 WP2FA/includes/classes/Admin/SettingsPages/class-settings-page-policies.php(601): WP2FA\Admin\Views\FirstTimeWizardSteps::select_method(false)
       #1 WP2FA/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('', Array)
       #4 /wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #5 /wp-admin/admin.php(259): do_action('toplevel_page_w...')
       #6 {main}
        thrown
       ```
   
    -  This topic was modified 4 years, 4 months ago by Anonymous User 20213223.
    -  This topic was modified 4 years, 4 months ago by Anonymous User 20213223.

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

 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/firsttimewizardsteps-php-error/#post-15283640)
 * Hello @mgomesborges
 * Can you please [install this version](https://www.wpwhitesecurity.com/downloads/support/20220117_wp-2fa.zip)
   of the plugin and advise if this helps?
 * Looking forward to hearing from you.
 *  Thread Starter Anonymous User 20213223
 * (@anonymized-20213223)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/firsttimewizardsteps-php-error/#post-15292395)
 * Hey [@robert681](https://wordpress.org/support/users/robert681/),
 * Thank you for your prompt reply!
    I uninstalled WP-2FA and reinstalled using 
   the patch you shared.
 * Parameters:
    Enforce 2FA on all users Grace Period 10 days Backup Codes
 * In the end of the setup the windows with Backup Codes closed unexpectedly. I 
   regenerated the backup codes and it’s ok. The plugin is working fine. However,
   I received an email from WordPress reporting the same error as before.
 * Let me know if there’s anything I can help to fix this issue.
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/firsttimewizardsteps-php-error/#post-15314708)
 * Hello @mgomesborges
 * Thank you for the update. Unfortunately we can’t reproduce the issue. We will
   need more information from you so we can reproduce this issue, such as the web
   host’s name, setup etc.
 * Can you please [open a support ticket with us](https://www.wpwhitesecurity.com/support/submit-ticket/)
   so you can share these details with us to further troubleshoot this issue and
   not disclose them on a public forum?
 * Looking forward to hearing from you.
 *  Thread Starter Anonymous User 20213223
 * (@anonymized-20213223)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/firsttimewizardsteps-php-error/#post-15324266)
 * Hello [@robert681](https://wordpress.org/support/users/robert681/), I just opened
   a support ticket as you recommended.
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/firsttimewizardsteps-php-error/#post-15339909)
 * Thank you @mgomesborges
 * We are looking into it this morning. Sorry for the delay.
 *  Thread Starter Anonymous User 20213223
 * (@anonymized-20213223)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/firsttimewizardsteps-php-error/#post-15343781)
 * Hey [@robert681](https://wordpress.org/support/users/robert681/),
 * I have just setup a staging website for you to run some tests!
    I tried to install
   WP2FA and it is possible to reproduce the error.
 * I sent you all the details by email!
 *  Thread Starter Anonymous User 20213223
 * (@anonymized-20213223)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/firsttimewizardsteps-php-error/#post-15352842)
 * Hello [@robert681](https://wordpress.org/support/users/robert681/),
 * The reported issue has been fixed with this new version of the plugin.
 * Thanks for your support.
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/firsttimewizardsteps-php-error/#post-15355874)
 * I am glad to hear @mgomesborges
 * Thank you for your cooperation with fixing this issue and patience. Please do
   not forget to [rate our plugin and service](https://wordpress.org/support/plugin/wp-2fa/reviews/).
   These ratings really help us.
 * Have a great weekend.

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

The topic ‘FirstTimeWizardSteps.php Error’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/firsttimewizardsteps-php-error/#post-15355874)
 * Status: resolved