douhoulei4706 2018-10-15 11:20
浏览 265

WordPress PHP警告:require(/home/cluster-sites/6/e/expertfaculty.org/public_html/wp-includes/class-wp-widget.php):无法打开流

I have recently moved a domain from an old server to a new hosting package.

I moved over all the previous files and backed up the MySQL databases.The website is not loading, with the following error:

expertfaculty.org [Mon Oct 15 11:11:39 2018] [error] [client 77.89.128.187:0] PHP Warning: require(/home/cluster-sites/6/e/expertfaculty.org/public_html/wp-includes/class-wp-widget.php): failed to open stream: No such file or directory in /home/cluster-sites/6/e/expertfaculty.org/public_html/wp-settings.php on line 187

expertfaculty.org [Mon Oct 15 11:11:39 2018] [error] [client 77.89.128.187:0] PHP Fatal error: require(): Failed opening required '/home/cluster-sites/6/e/expertfaculty.org/public_html/wp-includes/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 on line 187

The class-wp-widget.php is there in the wp-includes file. One wp-settings.php on line 187 there isn't anything that's relevant.

The website definitely worked under the old server. Not sure what is wrong.

Anyone can help on that? Thanks!

  • 写回答

1条回答 默认 最新

  • doupengxie4195 2018-10-15 11:26
    关注

    Edit the new site file: wp-config.php

    Add the below above: /* That's all, stop editing! Happy blogging. */

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

    Change the example.com URLs to your new site URLs.

    Thanks.

    评论

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?