Hmmmmm.
Might be helpful to see lines 3, 4, 5, etc!
Try posting the whole file in paste bin or something and linking to it here.
What is the text of the fatal error?
ORIGINAL POSTING HAD THE INCORRECT INDEX.PHP. I have not pasted the correct one below.
FATAL ERROR: Fatal error: Call to undefined function get_header() in /home/content/11/11674411/html/testsite/wp-admin/index.php on line 2
INDEX.PHP:
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );
Have you asked the developer about this problem?
http://themeforest.net/item/vienna-responsive-wordpress-restaurant-theme/9036681
In the meantime, you should be able to deactivate that theme manually by renaming it on the server in the themes folder.
Any Thoughts…..anyone? According to that error the index.php file in the wp-admin folder is missing the get_header() function.
I have no idea on how to fix this. It’s not a theme issue, but a wordpress core issue
In that case, you should be able to manually replace the WP core files via FTP – download a new copy of WP to your local computer and replace all files and folders except wp-config.php and wp-content. Delete the old copies before uploading the new ones.