Fatal error: Call to undefined function
-
can’t seem to find an answer to this problem
i logged on to wp-admin and went to my dashboard then went through cpanel to do a version upgrade with fantastico, did not disable plugins and get this error when i try to do anything
Fatal error: Call to undefined function: get_option() in /home/justice/public_html/wp-admin/admin.php on line 7this is the first 10 lines of admin.php
<?php
if ( defined(‘ABSPATH’) )
require_once( ABSPATH . ‘wp-config.php’);
else
require_once(‘../wp-config.php’);if ( get_option(‘db_version’) != $wp_db_version ) {
wp_redirect(get_option(‘siteurl’) . ‘/wp-admin/upgrade.php?_wp_http_referer=’ . urlencode(stripslashes($_SERVER[‘REQUEST_URI’])));
exit;
}any ideas?
The topic ‘Fatal error: Call to undefined function’ is closed to new replies.