• Resolved psychomann

    (@psychomann)


    Hi, I try to activate the extension on a new site with PHP 8.1 activate.
    Seems work with 8.0 … Should I stick to 8.0 ?

    Fatal error: Uncaught mysqli_sql_exception: Table ‘xxx_xxx.xx_mo2f_user_details’ doesn’t exist in /home/xxx/www/wp-includes/wp-db.php:2056
    Stack trace:
    #0 /home/xxx/www/wp-includes/wp-db.php(2056): mysqli_query()
    #1 /home/xxx/www/wp-includes/wp-db.php(1945): wpdb->_do_query()
    #2 /home/xxx/www/wp-content/plugins/miniorange-2-factor-authentication/database/database_functions_2fa.php(210): wpdb->query()
    #3 /home/xxx/www/wp-content/plugins/miniorange-2-factor-authentication/miniorange_2_factor_settings.php(324): Mo2fDB->get_no_of_2fa_users()
    #4 /home/xxx/www/wp-includes/class-wp-hook.php(303): Miniorange_twoFactor->mo_wpns_activate()
    #5 /home/xxx/www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #6 /home/xxx/www/wp-includes/plugin.php(470): WP_Hook->do_action()
    #7 /home/xxx/www/wp-admin/plugins.php(193): do_action()
    #8 {main} thrown in /home/xxx/www/wp-includes/wp-db.php on line 2056

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor twofactorauthentication

    (@twofactorauthentication)

    Hi there,

    Thank you for reaching out to us.

    We have looked into the issue that you are facing.
    We would like to inform you that WordPress is not compatible with PHP version 8.1.
    This main issue is that tables are not getting created in PHP 8.1. This also includes default tables that get created on WordPress.

    For now, we would recommend you roll back to the previous PHP version 8.0.
    If you want to keep the PHP version as it then we can manually create the tables of our Google Authenticator plugin by running the database queries.

    If you are interested then please raise a support query through the plugin so that we can arrange a meeting.

    Thank you,
    miniOrange Team

    Plugin Contributor twofactorauthentication

    (@twofactorauthentication)

    Hi,

    We haven’t heard back from you.

    Were you able to resolve this issue in our Google Authenticator[2FA/OTP] plugin?

    If not, you can raise a query through the support form and we will reach out to you for further assistance.

    We are closing this ticket as of now.

    Thank you,
    miniOrange Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 8.1 activate => Fatal error’ is closed to new replies.