Fatal error: Uncaught Error: Call to undefined function wp_enqueue_editor() in /data/wwwroot/www.hello.com/wp-includes/widgets/class-wp-widget-text.php:432 Stack trace

错误信息:

atal error: Uncaught Error: Call to undefined function wp_enqueue_editor() in /data/wwwroot/www.hello.com/wp-includes/widgets/class-wp-widget-text.php:432 Stack trace: #0 /data/wwwroot/www.hello.com/wp-includes/class-wp-hook.php(288): WP_Widget_Text->enqueue_admin_scripts(”) #1 /data/wwwroot/www.hello.com/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /data/wwwroot/www.hello.com/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /data/wwwroot/www.hello.com/wp-admin/admin-header.php(125): do_action(‘admin_print_scr…’) #4 /data/wwwroot/www.hello.com/wp-admin/widgets.php(382): require_once(‘/data/wwwroot/w…’) #5 {main} thrown in /data/wwwroot/www.hello.com/wp-includes/widgets/class-wp-widget-text.php on line 432

1、访问下面网址并登录

https://secure1.inmotionhosting.com/index/login

2、依次选在cpanel ->  File Manager ->www

  (注释:www这里为网站的根目录)


 

3、这是www目录下的文件结构:

(注意:在更改的时候一定要先备份!!!!)

4、备份之后进行如下操作:

wp-admin 和 wp-includes,这两个文件夹是wp的核心文件(上一步操作已经备份过了),直接删除。

下载新的wordpress,找出下图这2个文件夹来,压缩,上传,解压。就替换好了

 

5、最后一步:进入网站后台,启用所有主题(theme)和插件(plugin)