2016-08-08 26 views
0

我想安装基于GetFlywheel.com备份的备份,他们提供wp-content和.sql文件。无法从备份工作中获取Wordpress安装

我安装WordPress的香草,掉落表,导入的SQL文件,并取代了可湿性粉剂内容的文件夹,而现在当我尝试访问安装我收到错误的笑料。这是怎么回事?

Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3658 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BVHttpClient has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-site-migrate/bv_http_client.php on line 3 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BlogVault has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-site-migrate/bv_class.php on line 3 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BVDynamicBackup has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-site-migrate/bv_dynamic_backup.php on line 3 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BVSecurity has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/wp-site-migrate/bv_security.php on line 3 

Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3658 

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'remove_admin_bar' not found or invalid function name in /Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php on line 525 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AboutMeWidget has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/themes/Divi/includes/widgets/widget-about.php on line 1 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AdsenseWidget has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/themes/Divi/includes/widgets/widget-adsense.php on line 1 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AdvWidget has a deprecated constructor in /Applications/MAMP/htdocs/wordpress/wp-content/themes/Divi/includes/widgets/widget-ads.php on line 1 

Notice: The called constructor method for WP_Widget in AboutMeWidget is deprecated since version 4.3.0! Use 
__construct() 
instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3718 

Notice: The called constructor method for WP_Widget in AdsenseWidget is deprecated since version 4.3.0! Use 
__construct() 
instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3718 

Notice: The called constructor method for WP_Widget in AdvWidget is deprecated since version 4.3.0! Use 
__construct() 
instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3718 

Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3658 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php:3658) in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/accesspress-social-login-lite/accesspress-social-login-lite.php on line 182 

Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3658 

Notice: force_ssl_login is deprecated since version 4.4! Use force_ssl_admin() instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3658 

Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/wordpress/wp-content/themes/Divi/functions.php on line 8652 

Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/wordpress/wp-content/themes/Divi/functions.php on line 8652 

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php:3658) in /Applications/MAMP/htdocs/wordpress/wp-includes/pluggable.php on line 1167 

注意:如果WP_DEBUG设置为false,我收到我不能在所有连接到服务器的错误。

回答

1

看起来你使用的是不同步的数据库使用的版本WP版本。我会尝试将你的wp-content目录放到WP的最新版本中,看看是否有帮助。

+0

如果有的话,数据库使用WP比香草安装我安装的是旧版本。从日志中看到的内容是否有意义? – Antoine

+0

不是特别的,因为抛出的错误都是在代码中,而不是SQL错误。 – jstephens0

1

我有同样的问题,我通过升级WP解决它。

+0

它看起来像我运行的是最新版本的Wordpress,所以我猜我应该安装wordpress的先前版本,以使其适合数据库。这对你有意义吗? – Antoine

+0

我在我的机器中有一个以前版本的WP。如果你安装了最新版本,我不能帮你 –