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
- This topic has 11 replies, 10 voices, and was last updated 3 weeks ago by
bennett lover.
-
AuthorPosts
-
February 14, 2020 at 7:39 pm #2321
[email protected]
ParticipantBut 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
February 16, 2020 at 4:10 pm #2335Kriti Sharma
KeymasterHi,
I need to talk to the development team regarding this error message.
Regards,
KritiFebruary 18, 2020 at 1:53 am #2359Kriti Sharma
KeymasterHi,
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,
KritiSeptember 4, 2025 at 6:51 pm #14972alex arafat
ParticipantI 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.
September 5, 2025 at 8:38 am #14980Elsie Ash
ParticipantThe 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.
September 9, 2025 at 10:33 am #15037Evie Rose
ParticipantThe 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!September 10, 2025 at 11:05 am #15057kir ife
ParticipantThis 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.
September 11, 2025 at 5:36 pm #15078Ali Raza
ParticipantLocksmith 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.
September 12, 2025 at 4:09 pm #15090Ali Raza
ParticipantLock 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.
September 15, 2025 at 8:43 am #15125kety kety
ParticipantThe 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
September 15, 2025 at 8:45 am #15126ava robinson
Participantthis 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
September 15, 2025 at 2:31 pm #15133bennett 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.
-
AuthorPosts
- You must be logged in to reply to this topic.