• Deprecated: Required parameter $modal_content follows optional parameter $modal_title in \plugins\wp-2fa\includes\classes\Utils\GenerateModal.php on line 24

    • This topic was modified 4 years, 10 months ago by joroabv.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Anonymous User 18795708

    (@anonymized-18795708)

    +1
    My error in console:
    `AH01071: Got error ‘PHP message: PHP Warning: Undefined variable $user_type in /wp-content/plugins/wp-2fa/includes/classes/Utils/Migration.php on line 157PHP message: PHP Fatal error: Uncaught TypeError: array_diff(): Argument #2 must be of type array, null given in /wp-content/plugins/wp-2fa/includes/classes/Utils/UserUtils.php:108\nStack trace:\n#0 /wp-content/plugins/wp-2fa/includes/classes/Utils/UserUtils.php(108): array_diff()\n#1 /wp-content/plugins/wp-2fa/includes/classes/Utils/Migration.php(157): WP2FA\\Utils\\UserUtils::in_array_all()\n#2 /wp-content/plugins/wp-2fa/includes/classes/Utils/AbstractMigration.php(101): WP2FA\\Utils\\Migration::migrateUpTo_170()\n#3 /wp-content/plugins/wp-2fa/wp-2fa.php(42): WP2FA\\Utils\\AbstractMigration::migrate()\n#4 //wp-settings.php(391): include_once(‘…’)\n#5

    After the installation, the complete website is no longer accessible under PHP8. Only a restore offers a quick remedy.

    Critical error

    Warning: Undefined variable $user_type in /…/wp-content/plugins/wp-2fa/includes/classes/Utils/Migration.php on line 157

    NOTICE: PHP message: PHP Warning: Undefined variable $user_type in /…./wp-content/plugins/wp-2fa/includes/classes/Utils/Migration.php on line 157″

    [16-Jul-2021 11:36:37] WARNING: [pool www] child 9871 said into stderr: “NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: array_diff(): Argument #2 must be of type array, null given in /…./wp-content/plugins/wp-2fa/includes/classes/Utils/UserUtils.php:108”

    Revert the installation to a previous version

    previous version is
    https://downloads.wp.xz.cn/plugin/wp-2fa.1.6.3.zip

    Plugin Contributor robertabela

    (@robert681)

    Thank you @purityboy83 @itsebigaming and @joroabv for reporting these issues. Next time please open your own forum thread since each issue can be different than the others.

    We are looking into these and we will get back to you.

    @robert681 we encounter this issue too. can you please help?

    Thanks~

    Plugin Contributor robertabela

    (@robert681)

    Hello @hkitss

    These are all warnings and do not affect the functionality of the plugin. Hence we will be addressing them in the next update of the plugin.

    Thank you for using the plugin.

    Have a great day.

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

The topic ‘Depreciation warning with PHP 8’ is closed to new replies.