• Hi:

    I got this message after installing Worpress and trying to set it up. Any ideas? Thanks in advance.

    Fatal error: Call to undefined function wp_dashboard_setup() in /home/tauihumedia/TenderAge/wp-admin/index.php on line 15

Viewing 3 replies - 1 through 3 (of 3 total)
  • Are you using APC by any chance.

    If so, the quick fix would be to find this code in wp-admin/index.php:

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

    and replace it with:

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

    This should solve the problem.

    But It is not recommended to change code that is bound to be overwritten at every WordPress upgrade, so instead I suggest tweaked APC by adding the following line to the configuration:

    apc.include_once_override=0

    This tells APC not to optimize include_once.

    Thread Starter [email protected]

    (@tuiwavecommsconz)

    Thanks for the suggestion. I’m not using APC.
    Line 15 currently reads:

    require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );

    Any further thoughts appreciated.

    Moderator t-p

    (@t-p)

    @xicoofficial,

    Thanks for helping out ??

    If so, the quick fix would be to find this code in wp-admin/index.php:

    – As the adage goes, don’t modify core files (unless you know what you are doing in there and are aware of the limitations and drawbacks this imposes). Modifications can cause:
    security risks,
    performance degradation,
    broken plugins/themes,
    of course, you will lose all changes when you next update the WordPress, etc.

    @tuiwavecommsconz,

    Try MANUALLY updating. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old wp-admin and wp-includes folders and files on your server before uploading the new ones. Please read the Manual Update directions first.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error Message after installation’ is closed to new replies.