php - WordPress - 联系表格
问题描述
我将一个 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
谁能帮我?
解决方案
Revolution Slider 插件似乎缺少一些文件。尝试删除 Revolution Slider 插件,然后从 wp-admin 重新安装。
推荐阅读
- swift - 如何在 UITableViewCell 中保持 UITextView 在滚动时可编辑并保持其动态大小?
- c++ - 链表 appendNode 方法“读取访问冲突”。
- python - yum update failed "StopIteration" hdr = idx.next()
- python - Launch TkInter GUI using Watchdog event
- scala - 如何根据 Spark 中的所有内容进行过滤?
- arrays - 基于角度html循环内的数组值循环项目
- laravel - Laravel + Vue: button and modal component not show up in blade
- jakarta-ee - Execute Java petstore 1.1.2 using JDK1.8
- mendeley - 带有单页应用程序的 Mendeley Web Importer
- javascript - 转换同一行上特定类的所有元素