• Resolved cintyatakahaschi

    (@cintyatakahaschi)


    I’m getting the same error of this post – i.e. get the error: “Call to a member function get_extra_permastruct() on null” when Activate the Status of LightStart. After pressing the F5 key everything is okay, and the plugin seems to be working.

    I don’t have the plugin WP Super Cache, so I can’t apply the same solution of the other post.

    The error I get, with all plugins disabled except LightStart and WP Debugging disabled is:

    Fatal error: Uncaught Error: Call to a member function get_extra_permastruct() on null in /var/www/my_domain/wp-includes/taxonomy.php:4602 Stack trace: #0 /var/www/my_domain/wp-includes/nav-menu.php(921): get_term_link() #1 [internal function]: wp_setup_nav_menu_item() #2 /var/www/my_domain/wp-includes/nav-menu.php(732): array_map() #3 /var/www/my_domain/wp-includes/nav-menu.php(1144): wp_get_nav_menu_items() #4 /var/www/my_domain/wp-includes/class-wp-hook.php(310): _wp_auto_add_pages_to_menu() #5 /var/www/my_domain/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #6 /var/www/my_domain/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /var/www/my_domain/wp-includes/post.php(5381): do_action() #8 /var/www/my_domain/wp-includes/post.php(4913): wp_transition_post_status() #9 /var/www/my_domain/wp-content/plugins/wp-maintenance-mode/includes/classes/wp-maintenance-mode.php(101): wp_publish_post() #10 /var/www/my_domain/wp-content/plugins/wp-maintenance-mode/includes/classes/wp-maintenance-mode.php(167): WP_Maintenance_Mode->__construct() #11 /var/www/my_domain/wp-includes/class-wp-hook.php(310): WP_Maintenance_Mode::get_instance() #12 /var/www/my_domain/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #13 /var/www/my_domain/wp-includes/plugin.php(517): WP_Hook->do_action() #14 /var/www/my_domain/wp-settings.php(495): do_action() #15 /var/www/my_domain/wp-config.php(115): require_once('…') #16 /var/www/my_domain/wp-load.php(50): require_once('…') #17 /var/www/my_domain/wp-admin/admin.php(34): require_once('…') #18 {main} thrown in /var/www/my_domain/wp-includes/taxonomy.php on line 4602
    
    Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/my_domain/wp-includes/functions.php on line 5905
    
    Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/my_domain/wp-includes/functions.php on line 5905
    
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    I’m using WordPress 6.3, PHP-FPM 8.0.30, MySQL 8.0.34.

    Is there anything I can do to avoid this error?

Viewing 1 replies (of 1 total)
  • Hi @cintyatakahaschi,

    Thanks for choosing LightStart!

    This is not a general issue with the plugin, so it occurs due to something from your environment. Please try to make a fresh install of the plugin and check if this helps solve the issue.

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Error get_page_permastruct’ is closed to new replies.