• Resolved martino180

    (@martino180)


    My site just auto updated to 5.9.1 and now my admin is inaccessible with this error:

    Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /homepages/1/d775566459/htdocs/designshopreact/wp-includes/script-loader.php:2356 Stack trace: #0 /homepages/1/d775566459/htdocs/designshopreact/wp-includes/class-wp-hook.php(307): wp_global_styles_render_svg_filters('') #1 /homepages/1/d775566459/htdocs/designshopreact/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /homepages/1/d775566459/htdocs/designshopreact/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #3 /homepages/1/d775566459/htdocs/designshopreact/wp-includes/general-template.php(3074): do_action('wp_body_open') #4 /homepages/1/d775566459/htdocs/designshopreact/wp-content/themes/zugan/functions.php(97): wp_body_open() #5 /homepages/1/d775566459/htdocs/designshopreact/wp-settings.php(555): include('/homepages/1/d7...') #6 /homepages/1/d775566459/htdocs/designshopreact/wp-config.php(96): require_once('/homepages/1/d7...') #7 /homepages/1/d775566459/htdocs/designshopreact/wp-load.php(50): require_once in /homepages/1/d775566459/htdocs/designshopreact/wp-includes/script-loader.php on line 2356

    How do I fix this?

    • This topic was modified 4 years, 1 month ago by martino180.
    • This topic was modified 4 years, 1 month ago by martino180.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Mohammed Irfan

    (@irfanappachhi)

    I’m also facing the same issue, but the solution given above is a generic response and not specific to the issue. The problem is actually with Gutenberg, we need to remove this function call wp_global_styles_render_svg_filters to avoid this error.
    There are few solutions given in this below link.

    https://github.com/WordPress/gutenberg/issues/38299

    Thread Starter martino180

    (@martino180)

    So I did end up fixing this. All I did was re-upload the updated Zugan template manually via FTP and it fixed the issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘5.9.1 Admin Inaccessible?’ is closed to new replies.