• Resolved psytanium

    (@psytanium)


    Hi,

    I installed the plugin on a website and it is working perfect, but on another website it give me this error:

    Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in /home/user/public_html/wp-includes/link-template.php:435 Stack trace: #0 /home/user/public_html/wp-includes/link-template.php(397): _get_page_link(Object(WP_Post), false, false) 
    #1 /home/user/public_html/wp-includes/link-template.php(197): get_page_link(Object(WP_Post), false, false) 
    #2 /home/user/public_html/wp-content/plugins/wp-user-avatar/src/Classes/ModifyRedirectDefaultLinks.php(121): get_permalink(Object(WP_Post)) 
    #3 /home/user/public_html/wp-includes/class-wp-hook.php(310): ProfilePress\Core\Classes\ModifyRedirectDefaultLinks->set_login_url_func('https://theauhc...', '', false) 
    #4 /home/user/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('https://theauhc...', Array) 
    #5 /home/user/public_html/wp-includes/general-template.php(467): apply_filters('login_url', 'https://theauhc...', '', false) 
    #6 /home/user/public_html/wp-content/plugins/wpo365-msgraphmailer/Services/Options_Service.php(173): wp_login_url() 
    #7 /home/user/public_html/wp-content/plugins/wpo365-msgraphmailer/Services/Options_Service.php(576): Wpo\Services\Options_Service::get_default_options() 
    #8 /home/user/public_html/wp-content/plugins/wpo365-msgraphmailer/Services/Options_Service.php(529): Wpo\Services\Options_Service::ensure_options_cache() 
    #9 /home/user/public_html/wp-content/plugins/wpo365-msgraphmailer/Services/Options_Service.php(31): Wpo\Services\Options_Service::get_global_var('debug_log', false) 
    #10 /home/user/public_html/wp-content/plugins/wpo365-msgraphmailer/Services/Request_Service.php(38): Wpo\Services\Options_Service::get_global_boolean_var('debug_log', false) 
    #11 /home/user/public_html/wp-content/plugins/wpo365-msgraphmailer/wpo365-msgraphmailer.php(76): Wpo\Services\Request_Service::get_instance(true) 
    #12 /home/user/public_html/wp-content/plugins/wpo365-msgraphmailer/wpo365-msgraphmailer.php(56): Wpo\MsGraphMailer->cache_dependencies() 
    #13 /home/user/public_html/wp-includes/class-wp-hook.php(310): Wpo\MsGraphMailer->load('') 
    #14 /home/user/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) 
    #15 /home/user/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 
    #16 /home/user/public_html/wp-settings.php(495): do_action('plugins_loaded') 
    #17 /home/user/public_html/wp-config.php(96): require_once('/home/theauhclu...') 
    #18 /home/user/public_html/wp-load.php(50): require_once('/home/theauhclu...') 
    #19 /home/user/public_html/wp-admin/admin.php(34): require_once('/home/theauhclu...') 
    #20 /home/user/public_html/wp-admin/plugins.php(10): require_once('/home/theauhclu...') 
    #21 {main} thrown in /home/user/public_html/wp-includes/link-template.php on line 435

    After some troubleshooting, I found that the error vanishes when I disable all the plugins. However, when I attempt to reactivate the other plugins individually, I can’t pinpoint which one is conflicting with yours, as the error seems to occur randomly.

    • This topic was modified 1 year, 1 month ago by psytanium.
Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @wpo365 I have archived your reply and flagged your account. You asked for admin access and that is not permitted for any forum users.

    Please reply and let me know you understand and will not repeat that again.

    While I know you have the best of intentions, it’s forum policy that you not ask users for admin or server access. Users on the forums aren’t your customers, they’re your open source collaborators, and requesting that kind of access can put you and them at high risk.

    If they are paying customers (such as people who bought a premium service/product from you) then by all means, direct them to your official customer support system. But in all other cases, you need to help them here on the forums.

    Thankfully are other ways to get information you need:

    You get the idea.

    We know volunteer support is not easy, and this guideline can feel needlessly restrictive. It’s actually there to protect you as much as end users. Should their site be hacked or have any issues after you accessed it, you could be held legally liable for damages. In addition, it’s difficult for end users to know the difference between helpful developers and people with malicious intentions. Because of that, we rely on plugin developers and long-standing volunteers (like you) to help us and uphold this particular guideline.

    When you help users here and in public, you also help the next person with the same problem. They’ll be able to read the debugging and solution and educate themselves. That’s how we get the next generation of developers.

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught Error: Call to a member function get_page_permastruct() on null’ is closed to new replies.