Multiple Fatal Errors After Install
-
All of the mentioned errors is after a clean install with no additional modules.
1. Upon Visiting Admin Dashboard: PHP Fatal error: Call to undefined function wp_dashboard_setup(). This is of course fixed with the hack:
/** Load WordPress dashboard API */ #require_once(ABSPATH . 'wp-admin/includes/dashboard.php'); require_once('./includes/dashboard.php');
However, I don’t want to use a Hack to fix something in WordPress.
2. Upon Uploading a Module, or trying to install I get the following:
PHP Fatal error: Class ‘Plugin_Upgrader’ not found.—
PHP Modules:
[PHP Modules]
apc,ctype,curl,date,dba,dom,filter,gd,hash,iconv,json,ldap,libxml,
mbstring,mcrypt,memcache,mhash,mysql,mysqli,openssl,pcre,PDO,pdo_mysql,pdo_sqlite,posix,pspell,Reflection,session,SimpleXML,snmp,sockets,SPL,
SQLite,standard,tokenizer,xml,xmlreader,xmlwriter,zlib[Zend Modules]
PHP Version:
PHP 5.2.17 with Suhosin-Patch 0.9.7 (cli)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend TechnologiesAny pointers that anyone has to avoid these issues? It all seems to be stemming from the “ABSPATH” variable, however it is set correctly (and I echo’d) in the wp-config.php.
Absolute:/usr/local/www/example.com/wp-admin/includes/dashboard.php
- The topic ‘Multiple Fatal Errors After Install’ is closed to new replies.