WordPress PHP 警告:require (/home/cluster-sites/6/e/expertfacu



我最近将一个域从旧服务器移动到新的托管包。

我移动了所有以前的文件并备份了MySQL数据库。网站未加载,出现以下错误:

expertfaculty.org [2018年10月15日星期一 11:11:39] [错误] [客户端 77.89.128.187:0] PHP 警告: require(/home/cluster-sites/6/e/expertfaculty.org/public_html/wp-include/class-wp-widget.php(: 无法打开流:中没有此类文件或目录/home/cluster-sites/6/e/expertfaculty.org/public_html/wp-settings.php 在第 187 行

expertfaculty.org [2018年10月15日星期一 11:11:39] [错误] [客户端 77.89.128.187:0] PHP 致命错误: require((: 打开失败需要 '/home/cluster-sites/6/e/expertfaculty.org/public_html/wp-include/class-wp-widget.php' (include_path='.:/usr/share/pear72:/usr/share/php'( in/home/cluster-sites/6/e/expertfaculty.org/public_html/wp-settings.php 在第 187 行

class-wp-widget.php 位于 wp-include 文件中。 一个 wp 设置.php在第 187 行没有任何相关内容。

该网站肯定在旧服务器下运行。不知道出了什么问题。

有人可以帮忙吗?谢谢!

编辑新的站点文件:wp-config.php

在上面添加以下内容:/* 就是这样,停止编辑!快乐的博客。*/

define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );

将 example.com 网址更改为新的网站网址。

谢谢。

相关内容

最新更新