Fatal error: Call to undefined function nocache_headers
-
This has been the most UN FUN April Fools day!
After having complete issues with my site, lastly doing an manual upgrade, site still didn’t work.
Restored to last version (3.3.1) and had me going through the install process. When it attempted to install, I received the following error:
Fatal error: Call to undefined function nocache_headers() in /home/content/k/e/v/kevin11/html/wp-admin/admin.php on line 33
and when I try to access the site:
Fatal error: Call to undefined function wp() in /home/content/k/e/v/kevin11/html/wp-blog-header.php on line 14
I have no idea how to fix this. Here is what that particular admin.php looks like:
nocache_headers(); if ( get_option('db_upgraded') ) { flush_rewrite_rules(); update_option( 'db_upgraded', false ); /** * Fires on the next page load after a successful DB upgrade. * * @since 2.8.0 */ do_action( 'after_db_upgrade' ); } elseif ( get_option('db_version') != $wp_db_version && empty($_POST) ) { if ( !is_multisite() ) { wp_redirect( admin_url( 'upgrade.php?_wp_http_referer=' . urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) ); exit;
Please help!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Fatal error: Call to undefined function nocache_headers’ is closed to new replies.