• Attempted to login tonight and received the below error.

    Fatal error: Call to undefined function wp_dashboard_setup() in /home/orlandogolfblogger.com/wp-admin/index.php on line 15 (removed some of the path)

    Line 15 is “wp_dashboard_setup();”

    I did some research and solution I saw had something to do with modifying the php.ini file. I’m on a shared host and do not have access to that file.

    The last change that was made to the website was an upgrade to a plugin on 3/19/10. I logged in yesterday and earlier today just fine. Any suggestions?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter orlandogolfblogger

    (@orlandogolfblogger)

    Ah, disregard.. Here’s what I did and it worked..

    Changed
    require_once(ABSPATH . ‘wp-admin/includes/dashboard.php’);

    To
    require_once(‘includes/dashboard.php’);

    And it worked..

    I’m still confused as to why it crashed in the first place and wonder what impact this change will have on wordpress. Any thoughts or opinions?

    I’m with A2Hosting. If you are too, here’s what happened:

    A2 Hosting upgraded their servers yesterday to allow a choice of php versions. Evidently the new default PHP version is not entirely compatible with WordPress.

    The new default PHP Version is 5.2.9 Cached, which is what caused the error message. After changing it to the second option: 5.2.9 Zend Optimizer” the error went away.

    To change your version, go here: CPanel -> Software/Services -> PHP Version -> 5.2.9 Zend Optimizer

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Call to undefined function wp_dashboard_setup()’ is closed to new replies.