无法从备份工作中获得Wordpress安装

时间:2016-08-08 23:31:16

标签: php wordpress apache

我正在尝试安装基于GetFlywheel.com备份的备份,它们提供wp-content和.sql文件。

我安装了vanilla Wordpress,删除了表,导入了sql文件,并替换了wp-content文件夹,现在当我尝试访问安装时,我收到了一连串的错误。发生了什么事?

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,则会收到无法连接到服务器的错误。

2 个答案:

答案 0 :(得分:1)

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

答案 1 :(得分:1)

我遇到了同样的问题,我通过升级WP解决了这个问题。