• I’m getting the following debug log information and I’m not sure how to fix it:

    [18-Mar-2020 20:44:18 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in /home/r4tnu87n8d1z/public_html/wp-includes/link-template.php:373
    Stack trace:
    #0 /home/r4tnu87n8d1z/public_html/wp-includes/link-template.php(335): _get_page_link(Object(WP_Post), false, false)
    #1 /home/r4tnu87n8d1z/public_html/wp-includes/link-template.php(146): get_page_link(Object(WP_Post), false, false)
    #2 /home/r4tnu87n8d1z/public_html/wp-includes/nav-menu.php(832): get_permalink(Object(WP_Post))
    #3 [internal function]: wp_setup_nav_menu_item(Object(WP_Post))
    #4 /home/r4tnu87n8d1z/public_html/wp-includes/nav-menu.php(749): array_map(‘wp_setup_nav_me…’, Array)
    #5 /home/r4tnu87n8d1z/public_html/wp-includes/nav-menu-template.php(128): wp_get_nav_menu_items(Object(WP_Term), Array)
    #6 /home/r4tnu87n8d1z/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(446) : eval()’d code(15): wp_nav_menu(Object(stdClass))
    #7 /home/r4tnu87n8d1z/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(446): eval()
    #8 /home/r4t in /home/r4tnu87n8d1z/public_html/wp-includes/link-template.php on line 373

    I don’t have any backups and I’ve tried to put the website on debug but I still receive “There has been a critical error on your website.” whenever I try to access the index page. If anybody has any ideas or solutions please reply as soon as possible as this is a sales website.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Try disabling the plugin “code-snippets”, as that seems to be part of the path causing this error.

    If you can’t login to wp-admin, then via FTP or your hosting control panel’s file manager app, rename the directory (in wp-contents/plugins) of that plugin to something like “code-snippets.xxx”.

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