• glouton

    (@glouton)


    Hi there,

    I’ve installed Wappointment on my testing environment but the site crashed and I get an PHP fatal error if 2FA is on.
    Everything works if I disabled 2FA.

    Here the extract of the log:

    PHP Fatal error: Uncaught Error: Call to a member function using_index_permalinks() on null in /wp-includes/rest-api.php :459
    5002 Stack trace:
    5003 #0 /wp-includes/rest-api.php(520): get_rest_url()
    5004 #1 /wp-content/plugins/wappointment/app/System/Compatibility.php(13): rest_url()
    5005 #2 /wp-content/plugins/wappointment/app/System/Init.php(64): Wappointment\System\Compatibility::getRestUrl()
    5006 #3 /wp-includes/class-wp-hook.php(308): Wappointment\System\Init->jsVariables()
    5007 #4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    5008 #5 /wp-includes/plugin.php(517): WP_Hook->do_action()
    5009 #6 /wp-includes/script-loader.php(2012): do_action()
    5010 #7 /wp-content/plugins/wp-cerber/cerber-2fa.php(670): print_head_scripts()
    5011 #8 /wp-content/plugins/wp-cerber/cerber-2fa.php(384): CRB_2FA::show_2fa_page()
    5012 #9 /wp-content/plugins/wp-cerber/cerber-load.php(1780): CRB_2FA::restrict_and_verify()
    5013 #10 /wp-content/plugins/wp-cerber/cerber-load.php(1741): cerber_restrict_user()
    5014 #11 /wp-includes/class-wp-hook.php(308): {closure}()
    5015 #12 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    5016 #13 /wp-includes/plugin.php(517): WP_Hook->do_action()
    5017 #14 /wp-includes/pluggable.php(48): do_action()
    5018 #15 /wp-includes/user.php(3610): wp_set_current_user()
    5019 #16 /wp-includes/pluggable.php(70): _wp_get_current_user()
    5020 #17 /wp-includes/l10n.php(98): wp_get_current_user()
    5021 #18 /wp-content/plugins/wp-google-maps/includes/class.plugin.php(786): get_user_locale()
    5022 #19 /wp-includes/class-wp-hook.php(308): WPGMZA\Plugin->onLoadTextDomainMOFile()
    5023 #20 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
    5024 #21 /wp-includes/l10n.php(759): apply_filters()
    5025 #22 /wp-includes/l10n.php(924): load_textdomain()
    5026 #23 /wp-content/plugins/wp-google-maps/includes/class.plugin.php(95): load_plugin_textdomain()
    5027 #24 /wp-content/plugins/wp-google-maps-pro/includes/class.pro-plugin.php(31): WPGMZA\Plugin->__construct()
    5028 #25 /wp-content/plugins/wp-google-maps-pro/includes/class.pro-plugin.php(134): WPGMZA\ProPlugin->__construct()
    5029 #26 /wp-includes/class-wp-hook.php(306): WPGMZA{closure}()
    5030 #27 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
    5031 #28 [internal function]: apply_filters()
    5032 #29 /wp-content/plugins/wp-google-maps/includes/class.factory.php(46): call_user_func_array()
    5033 #30 /wp-content/plugins/wp-google-maps/includes/class.plugin.php(1111): WPGMZA\Factory::createInstance()
    5034 #31 /wp-content/plugins/wp-google-maps/includes/class.plugin.php(1118): WPGMZA\create()
    5035 #32 /wp-content/plugins/wp-google-maps/includes/class.plugin.php(1152): WPGMZA\wpgmza_create_plugin()
    5036 #33 /wp-includes/class-wp-hook.php(308): WPGMZA{closure}()
    5037 #34 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    5038 #35 /wp-includes/plugin.php(517): WP_Hook->do_action()
    5039 #36 /wp-settings.php(480): do_action()
    5040 #37 /wp-config.php(122): require_once('…')
    5041 #38 /wp-load.php(50): require_once('…')
    5042 #39 /wp-blog-header.php(13): require_once('…')
    5043 #40 /index.php(17): require('…')
    5044 #41 {main}
    5045 thrown in /wp-includes/rest-api.php on line 459

    Regards,

  • The topic ‘Compatibility: 2 factors authentication and Wappointment’ is closed to new replies.