Support » Networking WordPress » Updated from 3.0 to 3.3.2 > undefind function get_current_screen()

  • Resolved Hregrin



    I updated a client’s network from 3.0 to 3.3.2 for (obvious) security reasons. Since I have updated, I haven’t been able to access the network admin page. I have a 500 error generated by a PHP Fatal Error :

    [error] [client CLIENT_IP] PHP Fatal error: Call to undefined function get_current_screen() in /path/to/wordpress/wp-admin/network/settings.php on line 22, referer: http://DOMAIN/wp-admin/index.php

    I have read this thread ->

    I followed the instructions given by Ipstenu. Nothing worked. Here’s a list of the things I tried :

    – Disabling plugins
    – Make a manual re-install
    – Make a fresh install
    – Repair and optimize DB
    – Check permissions
    – Check if there are no conflicting usernames/emails

    So now is the point where I can’t get further by my self and need help.

    If useful, here are bits the server config :

    OS: CentOS 5.6
    php -v : PHP 5.2.10
    mysql -v : MySQL 5.0.77

    This should be sufficient for WP 3.3.2 (even if a bit too old for my liking).

    Anybody got an idea?

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • get_current_screen is only intended for use when showing an administration screen but … Have you updating all your themes as well?

    It indeed shows when I try to access the network administration functions (like network updates and so on).

    Of course I updated all themes and plugins.

    I haven’t tried switching theme, though, but they use no admin themes, only frontend themes. Could it be related anyway?

    Could it be related anyway?


    Functions within themes can affect the admin.

    OK. Solved. It was so simple it makes me hesitate between laughing and crying…

    Thanks a lot for your help and dedication 😉

    For me it was including another php file in functions.php that broke this. The contents of the file didn’t matter, even including a blank file breaks this. Anyone know why or maybe a better way to include a file from functions.php?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Updated from 3.0 to 3.3.2 > undefind function get_current_screen()’ is closed to new replies.