2016-08-08 27 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。如果你安裝了最新版本,我不能幫你 –