• Hello. I installed the version Login with Google 1.3.1 for the very first time on WP 6.1.3 and I am getting the following error on any page of my site:

    Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null
    in /home/smdev/public_html/wp-includes/link-template.php on line 431

    Any ideas why?

    The call stack is below

    Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null
    in /home/smdev/public_html/wp-includes/link-template.php on line 431 Call stack: _get_page_link()
    wp-includes/link-template.php:393
    get_page_link()
    wp-includes/link-template.php:197
    get_permalink()
    wp-content/plugins/restrict-content-pro/includes/redirects.php:65
    rcp_hijack_login_url()
    wp-includes/class-wp-hook.php:310
    WP_Hook::apply_filters()
    wp-includes/plugin.php:205
    apply_filters()
    wp-includes/general-template.php:459
    wp_login_url()
    wp-content/plugins/login-with-google/src/Container.php:118
    RtCamp\G\Container::RtCamp\G{closure}()
    wp-content/plugins/login-with-google/vendor/pimple/pimple/src/Pimple/Container.php:118
    Pimple\Container::offsetGet()
    wp-content/plugins/login-with-google/src/Container.php:101
    RtCamp\G\Container::RtCamp\G{closure}()
    wp-content/plugins/login-with-google/vendor/pimple/pimple/src/Pimple/Container.php:118
    Pimple\Container::offsetGet()
    wp-content/plugins/login-with-google/src/Container.php:68
    RtCamp\G\Container::get()
    wp-content/plugins/login-with-google/src/Plugin.php:140
    RtCamp\G\Plugin::activate_modules()
    wp-content/plugins/login-with-google/src/Plugin.php:110
    RtCamp\G\Plugin::run()
    wp-content/plugins/login-with-google/login-with-google.php:130
    RtCamp\G{closure}()
    wp-includes/class-wp-hook.php:308
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:332
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-settings.php:480
    require_once()
    wp-config.php:126
    require_once()
    wp-load.php:50
    require_once()
    wp-blog-header.php:13
    require()
    index.php:17

  • The topic ‘Error – Call to a member function get_page_permastruct() on null’ is closed to new replies.