WordPress-联络表格

时间:2018-11-22 16:41:32

标签: php wordpress hosting

我将一个Wordpress网站从一个旧的托管服务提供商转移到了另一个。为此,我执行了以下步骤:

  • 我从旧提供商那里下载了public_html内容;
  • 我从旧的提供程序中导出了数据库内容;
  • 我尝试使用WordPress自动导入,但无法正常工作(无法与旧提供程序建立FTP连接);
  • 我在新的提供程序中安装了Wordpress;
  • 我将旧的public_html文件夹复制到了新文件夹中;
  • 我从以前的数据库导出中导入了所有旧表;
  • 我更正了wp-config.php文件中的数据库连接(DB_NAME,DB_USER,DB_PASSWORD ...)

这时该站点似乎可以正常工作了……但是“联系表”却没有。实际上,在激活WordPress调试模式后,如果我从站点发送消息,则会在debug.log中得到以下响应:

[22-Nov-2018 16:21:12 UTC] PHP Fatal error:  Uncaught Error: Class 'RevSliderFunctionsWP' not found in /home/yc32of0z/public_html/wp-content/plugins/revslider/revslider.php:91
Stack trace:
#0 /home/yc32of0z/public_html/wp-settings.php(305): include_once()
#1 /home/yc32of0z/public_html/wp-config.php(88): require_once('/home/yc32of0z/...')
#2 /home/yc32of0z/public_html/wp-load.php(37): require_once('/home/yc32of0z/...')
#3 /home/yc32of0z/public_html/xmlrpc.php(29): include('/home/yc32of0z/...')
#4 {main}
thrown in /home/yc32of0z/public_html/wp-content/plugins/revslider/revslider.php on line 91
[22-Nov-2018 16:21:34 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/yc32of0z/public_html/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
[22-Nov-2018 16:21:34 UTC] PHP Notice:  Constant DB_NAME already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 19
[22-Nov-2018 16:21:34 UTC] PHP Notice:  Constant DB_USER already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 22
[22-Nov-2018 16:21:34 UTC] PHP Notice:  Constant DB_PASSWORD already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 25
[22-Nov-2018 16:21:34 UTC] PHP Notice:  Constant DB_HOST already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 28
[22-Nov-2018 16:21:34 UTC] PHP Notice:  Constant DB_CHARSET already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 31
[22-Nov-2018 16:21:34 UTC] PHP Notice:  Constant DB_COLLATE already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 34
[22-Nov-2018 16:21:34 UTC] PHP Warning:  require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:21:34 UTC] PHP Warning:  require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:21:34 UTC] PHP Fatal error:  require(): Failed opening required 'wp-salt.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:21:59 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/yc32of0z/public_html/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
[22-Nov-2018 16:21:59 UTC] PHP Notice:  Constant DB_NAME already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 19
[22-Nov-2018 16:21:59 UTC] PHP Notice:  Constant DB_USER already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 22
[22-Nov-2018 16:21:59 UTC] PHP Notice:  Constant DB_PASSWORD already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 25
[22-Nov-2018 16:21:59 UTC] PHP Notice:  Constant DB_HOST already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 28
[22-Nov-2018 16:21:59 UTC] PHP Notice:  Constant DB_CHARSET already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 31
[22-Nov-2018 16:21:59 UTC] PHP Notice:  Constant DB_COLLATE already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 34
[22-Nov-2018 16:21:59 UTC] PHP Warning:  require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:21:59 UTC] PHP Warning:  require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:21:59 UTC] PHP Fatal error:  require(): Failed opening required 'wp-salt.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:22:35 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/yc32of0z/public_html/wp-content/plugins/LayerSlider/wp/widgets.php on line 4
[22-Nov-2018 16:22:35 UTC] PHP Notice:  Constant DB_NAME already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 19
[22-Nov-2018 16:22:35 UTC] PHP Notice:  Constant DB_USER already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 22
[22-Nov-2018 16:22:35 UTC] PHP Notice:  Constant DB_PASSWORD already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 25
[22-Nov-2018 16:22:35 UTC] PHP Notice:  Constant DB_HOST already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 28
[22-Nov-2018 16:22:35 UTC] PHP Notice:  Constant DB_CHARSET already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 31
[22-Nov-2018 16:22:35 UTC] PHP Notice:  Constant DB_COLLATE already defined in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 34
[22-Nov-2018 16:22:35 UTC] PHP Warning:  require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:22:35 UTC] PHP Warning:  require(wp-salt.php): failed to open stream: No such file or directory in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:22:35 UTC] PHP Fatal error:  require(): Failed opening required 'wp-salt.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/yc32of0z/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 41
[22-Nov-2018 16:23:35 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/yc32of0z/public_html/wp-content/plugins/LayerSlider/wp/widgets.php on line 4

有人可以帮助我吗?

1 个答案:

答案 0 :(得分:2)

Revolution Slider插件似乎缺少一些文件。尝试删除Revolution Slider插件,然后从wp-admin重新安装。