I am hosted at GoDaddy.com, and have performed a wordpress update on their system... that might very well be the fatal error... however, the blog was working properly... and now it returns the following:
Fatal error: Call to undefined function get_file_data() in /home/content/u/m/a/umadoshi/html/wp-content/plugins/jetpack/jetpack.php on line 278
I have deleted jetpack plugin, downloaded the latest version, and uploaded it to the proper location on the FTP server. The error remains.
I am using CreativeSpark theme.
Here is the code that supposedly is causing the error:
/**
* Load module data from module file. Headers differ from WordPress
* plugin headers to avoid them being identified as standalone
* plugins on the WordPress plugins page.
*/
function get_module( $module ) {
$headers = array(
\'name\' => \'Module Name\',
\'description\' => \'Module Description\',
\'sort\' => \'Sort Order\',
);
$file = Jetpack::get_module_path( Jetpack::get_module_slug( $module ) );
$mod = get_file_data( $file, $headers );
if ( empty( $mod[\'sort\'] ) )
$mod[\'sort\'] = 10;
if ( !empty( $mod[\'name\'] ) )
return $mod;
return false;
}
Thanks for your help...
Blog url: http://www.umadoshi.com