Hi,
I’ve created a test site under one url http://www.bestplacesinengland.co.uk and now want to create a new site http://www.alittlebitabout.co.uk using exactly the same plugins and settings etc.
So what I’ve done is create the new wp site, installed all the same geodirectory plugins and activated them using the same activation codes. I’ve also copied all the settings etc so it’s exactly the same. Once the new site is up and running I’ll turn the old site off.
Everything was working fine then it stopped working and now I can’t log into wp nor see my site http://www.alittlebitabout.co.uk.
The only thing that I can think of that may have caused an issue is my developer copied the below code at the end of the Theme functions (functions.php)
}
function geodir_business_auto_fill_excluded() {
return array(‘post_title’, ‘post_desc’);
}
add_filter(‘geodir_business_auto_fill_excluded’, ‘geodir_business_auto_fill_excluded’);
I’ve spoken to my hosts and they’ve sent some error messages that may back this up
[21-Sep-2016 14:44:27 UTC] WordPress database error Table ‘alittlebitabout.wp_geodir_price’ doesn’t exist for query show columns from wp_geodir_price made by require_once(‘E:homealittlebitaboutwp-load.php’), require_once(‘E:homealittlebitaboutwp-config.php’), require_once(‘E:homealittlebitaboutwp-settings.php’), do_action(‘init’), call_user_func_array, GD_Business_Hours, GD_Business_Hours->__construct, gdbh_add_hours_to_price_table, geodir_add_column_if_not_exist, geodir_column_exist
[21-Sep-2016 16:08:10 UTC] PHP Parse error: syntax error, unexpected ‘}’ in E:homealittlebitaboutwp-contentthemessupreme-directoryfunctions.php on line 574
[21-Sep-2016 21:58:21 UTC] PHP Fatal error: Call to undefined function get_stylesheet_directory_uri() in E:homealittlebitaboutwp-includesfunctions.php on line 19
Can I replace the functions.php with a new one via uploading through ftp?
As always your help would be much appreciated.
All the best
Mark