升级Wordpress时出现崩溃。当我重新打开它时,弹出这个错误信息。
致命错误:require() [function。]在/home/xxxx/public_html/wp-content/themes/twentyfourteen/inc/custom-header.php中打开失败要求'/home/xxxx/public_html/wp-content/themes/twentyfourteen/inc/custom-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
现在我可以使用winscp进入管理界面了,我怎么才能挽救我的wordpress,只是为了删除主题214 ?
我删除了wp-content/themes/twenty - fourteen/,当我打开我的wordpress时,我什么也看不到,我该怎么办?主题目录中还有213和212,我可以使用其中一个吗?
如果我想使用122,sql命令会工作吗?
UPDATE wp_options SET option_value = 'twentytwelve' WHERE option_name = 'template';
UPDATE wp_options SET option_value = 'twentytwelve' WHERE option_name = 'stylesheet';
UPDATE wp_options SET option_value = 'twentytwelve' WHERE option_name = 'current_theme';
UPDATE wp_options SET option_value = 'twentytwelve' WHERE option_name = 'template';
UPDATE wp_options SET option_value = 'twentytwelve' WHERE option_name = 'stylesheet';
UPDATE wp_options SET option_value = 'twentytwelve' WHERE option_name = 'current_theme';
适合我!