Support » Multisite » [Resolved] Call to undefined function get_current_screen()

[Resolved] Call to undefined function get_current_screen()

  • ¡Hi all!

    I’ve been googling a lot about that and I couldn’t get any solution that worked.

    I’ve recently installed the multisite option as the Codex say, I did all the steps and I’m always getting this error when I try to access the network Dashboard:

    Fatal error: Call to undefined function get_current_screen() in /something/somethingelse/www/wp-admin/network/settings.php on line 22

    Here’s my .htacess code (the same WP gave me when I did the installation):

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]


    EDIT: By the way, I’ve installed the sub-domains option, and my installation is in the public directory of my host.

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’ve just realised that I get the error when I activate a concrete theme that I downloaded, modified and installed correctly in WP. All the site is fully functional when the theme is activated, and I can access the panel control from all the sites of the network, but I can not access the Network Panel when the theme is installed. So I have to deactivate the theme, access the Network Panel, change whatever I want to change and reactivate the theme for the concrete theme.

    Did you find a better solution than this? I also get this error with the Artworks Responsive theme, and only when I access the network Dashboard, not the other dashboards.

    Nope, now I’m using a separate installation of WP for this theme in particular. That was the only solution.

    What do you mean separate installation? You’re not using multisite anymore with this theme?

    Exactly. You can have two separate installations in the same server, so I have one for the blog that uses this theme in particular and another installation for other blogs and themes.

    Ok I can’t use this solution so still looking for a way to solve this problem…

    su1 – Make a new post for yourself 🙂

    Describe what you’ve tried already and we’ll see what we can do.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Call to undefined function get_current_screen()’ is closed to new replies.