I am running WordPress Multisite at http://raju.com.au/. It has a subdomain install. I am then using wordpress-mu-domain-mapping plugin to map http://mandolinsiters.com for example to http://mandolinsisters.raju.com.au
Everything was going fine until I tried to install Akismet and had added the code
define('WPCOM_API_KEY' , 'API_KEY_HERE');to wp-config.php when I started to receive the following error when i visit http://raju.com.au
Fatal error: Call to undefined function wp() in /home/raju/public_html/wp-blog-header.php on line 14
and when i visit http://raju.com.au/wp-admin/ I receive the following error
Fatal error: Call to undefined function nocache_headers() in /home/raju/public_html/wp-admin/admin.php on line 32
I tried everything recomended in the forums including deleting plugins (Akismet and WP Super cache); re-installing all contents of WordPress (except wp-contents folder).
The database still seems to have everything I need. This is my wp-config.php file code. Any help/suggestions in getting this back is much appreciated.
<?php /** * The base configurations of the WordPress. * @package WordPress */ // ** MySQL settings - from my web host ** // define('DB_NAME', 'databasename'); define('DB_USER', 'username'); define('DB_PASSWORD', 'password'); define('DB_HOST', 'localhost'); define('DB_CHARSET', 'utf8'); define('DB_COLLATE', ''); /**#@+ * Authentication Unique Keys and Salts. */ $table_prefix = 'wp_'; define('WPLANG', ''); define('WP_DEBUG', false); define('WP_ALLOW_MULTISITE', true); define('SUNRISE', 'on'); /* That's all, stop editing! Happy blogging. */
- The topic ‘Fatal error: Call to undefined function wp() in /wp-blog-header.php on line 14’ is closed to new replies.