Skip to:
Content
Pages
Categories
Search
Top
Bottom

Call to a member function get_page_permastruct()


  • Raval
    Participant

    @ravals

    Hi,
    I use WordPress 5.3.2
    Buddypress 5.1.2

    Unfortunately, I have a problem and I ask for help.
    Sometimes there is a error:
    “Fatal error: Uncaught Error: Call to a member function get_page_permastruct () on null in
    /wp-includes/link-template.php:376 Stack trace: # 0
    /wp-includes/link-template.php(338): _get_page_link () # 1
    /wp-includes/link-template.php(146): get_page_link () # 2
    /wp-content/plugins/lh-login-page/lh-login-page.php(827): get_permalink () # 3
    /wp-includes/class-wp-hook.php(288): LH_login_page_plugin-> wp_logout () # 4 /wp-includes/class-wp-hook.php(312): WP_Hook-> apply_filters () # 5
    /wp-includes/plugin.php(478): WP_Hook-> do_action () # 6
    /wp-includes/pluggable.php(581): do_action () # 7
    wp-content / plugins / all-in-one-wp-security-and-firewall / wp-security-core.php (235): wp_logout () # 8 / wp-cont in / wp-includes / link-template. php on line 376

    This error disappears after reloading the page but it is still quite bothersome. How to fix this error?

  • You must be logged in to reply to this topic.
Skip to toolbar