Skip to content Skip to main navigation Skip to footer

I keep getting a failure on my main site

Welcome to QSM Support Forum. Forums QSM Pro Support I keep getting a failure on my main site

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2321
    connor@thedillongroupinc.com[email protected]
    Participant

    But not on my staging site. This is the warning I get:

    Fatal error: Uncaught Error: Call to a member function get_author_permastruct() on null in /var/www/wp-includes/author-template.php:346 Stack trace: #0 /var/www/wp-content/mu-plugins/gd-system-plugin/includes/class-cache.php(253): get_author_posts_url(230) #1 /var/www/wp-includes/class-wp-hook.php(288): WPaaS\Cache->do_purge(11838, Object(WP_Post)) #2 /var/www/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array) #3 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /var/www/wp-includes/post.php(6580): do_action(‘clean_post_cach…’, 11838, Object(WP_Post)) #5 /var/www/wp-includes/post.php(4003): clean_post_cache(Object(WP_Post)) #6 /var/www/wp-content/plugins/quiz-master-next/php/classes/class-qmn-log-manager.php(128): wp_insert_post(Array) #7 /var/www/wp-content/plugins/quiz-master-next/php/classes/class-qmn-log-manager.php(104): QMN_Log_Manager->insert_log(Array) #8 /var/www/wp-content/plugins/quiz-master-next/php/classes/class-qsm-tracking.php(93): QMN_Log_Manager->add(‘Error 0024’, ‘Us in /var/www/wp-includes/author-template.php on line 346

    #2335
    Kriti SharmaKriti Sharma
    Keymaster

    Hi,

    I need to talk to the development team regarding this error message.

    Regards,
    Kriti

    #2359
    Kriti SharmaKriti Sharma
    Keymaster

    Hi,
    You have a fatal error related to function get_author_permastruct.

    This function is not used in QSM plugin.

    If you are able to access your WordPress admin, please clear your cache plugin’s cache content and see if you are still experiencing the same issue.

    You can proceed to find out which plugin is causing your issue, by disabling one plugin at a time and clearing your cache content.

    You can also check whether it is an issue with your theme, by switching to a WordPress default theme and clear your cache content.

    Regards,
    Kriti

    #14972
    alex arafatalex arafat
    Participant

    I ran into that same fatal error on my staging site before—it turned out to be a conflict with how a plugin was handling author URLs. Disabling the cache plugin temporarily helped me debug. It kind of reminded me of using the chipotle nutrition calculator — just like breaking down each ingredient to see where the problem is with calories, I had to go step by step through the stack trace to find which part of the code was adding the issue.

    #14980
    Elsie AshElsie Ash
    Participant

    The fatal error Uncaught Error: Call to a member function get_author_permastruct() on null indicates that a function is trying to access author data, but the author object is missing or invalid, causing the get_author_permastruct() function to fail. The error originates in author-template.php and is triggered by the gd-system-plugin/includes/class-cache.php and quiz-master-next/php/classes/class-qmn-log-manager.php plugins. It appears that the Quiz Master Next plugin is trying to insert a log entry, which in turn triggers a cache purge action by the GD System Plugin, and during this process, the Official Website system is attempting to get the URL for an author who doesn’t exist or whose data is not being passed correctly.

    #15037
    Evie RoseEvie Rose
    Participant

    The error you’re seeing means WordPress is trying to build the author link but can’t because $wp_rewrite is returning null, often due to caching, missing rewrite rules, or plugin conflicts. On staging sites, this is common since some plugins (like Quiz Master Next or mu-plugins) don’t load the same way as on live. A quick fix is to go to Settings → Permalinks and save changes to refresh rewrite rules, or temporarily disable caching and check if the issue disappears. If the error persists, test by deactivating plugins. Honestly, this feels harder than asking someone to just do my python assignment!

    #15057
    kir ifekir ife
    Participant

    This blend of casual fun and competitive spirit makes them unique in the gaming world. flippy race is perfect for quick relaxation, but many also include leaderboards and achievements to keep you coming back for more.

    #15078
    Ali RazaAli Raza
    Participant

    Locksmith near me services are essential when facing urgent lock issues or security concerns. Just like troubleshooting why “I keep getting a failure on my main site,” finding the right expert requires precision and reliability. Professional locksmiths provide fast solutions for residential, commercial, and automotive locks, including repairs, replacements, and upgrades. Having a trusted locksmith nearby ensures peace of mind, quick response times, and secure property access whenever unexpected problems arise.

    #15090
    Ali RazaAli Raza
    Participant

    Lock issues can be frustrating, especially when you keep getting a failure on your main site. It’s important to identify whether the problem is with software, hardware, or configuration settings. Regular maintenance, proper updates, and security checks can prevent repeated failures. Consulting an expert can help diagnose underlying causes and implement effective solutions. With the right approach, you can restore smooth operation, safeguard your site, and minimize future disruptions efficiently.

    #15125
    kety ketykety kety
    Participant

    The fatal error occurs because WordPress is trying to generate an author URL using get_author_posts_url(), but the author object does not exist. This typically happens when a post or log references an author ID that has been deleted or is invalid. In this case, the error originates from the Quiz Master Next plugin while it attempts to insert a log. During this process, the gd-system-plugin cache plugin triggers a cache purge, which calls get_author_posts_url() for the missing author, resulting in the fatal error. Essentially, WordPress is attempting to access a function on a null object, which is why the error occurs. To fix this, the plugin or cache function should first check whether the author exists before trying to generate the URL, ensuring that get_author_posts_url() is only called on valid author objects. Official Site

    #15126
    ava robinsonava robinson
    Participant

    this is common since some plugins (like Quiz Master Next or mu-plugins) don’t load the same way as on live. A quick fix is to go to Settings → Permalinks and save changes to refresh rewrite rules, or temporarily disable caching and check if the issue disappears. If the error persists, test by deactivating plugins. wisely adp

    #15133
    bennett loverbennett lover
    Participant

    “I ran into a similar issue with plugin conflicts on my WordPress site before, and it turned out that disabling caching plugins while testing really helped identify the root cause. By the way, since I also create tutorial videos to document fixes, I often use editing apps like Alight Motion — it’s great for making clear step-by-step guides. If anyone is into video editing for tutorials, you can check out more.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.