Can't get Wordpress installation from backup working - php

I am trying to install a backup based off of GetFlywheel.com backup, they give wp-content and a .sql file.
I installed vanilla Wordpress, dropped the tables, imported the sql file, and replaced the wp-content folder, and now when I try and access the installation I receive a litany of errors. What's going on?
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
Note: If WP_DEBUG is set to false, I receive an error that I can't connect to the server at all.

Looks like the version of WP you used is out of sync with the version used by your database. I would try dropping your wp-content directory into an up-to-date version of WP and see if that helps.

I had the same problem and I solved it by upgrading WP.

Related

Cannot install OJS on freebsd php 7.2

I'm trying install to my vmware freebsd, i did install msqli, php, apache all lastest version and when i tried to install ojs im gettings this errors, please help thanks.
Function create_function() is deprecated in in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/install/form/InstallForm.inc.php on line 92
Deprecated: Non-static method Application::getName() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/install/form/InstallForm.inc.php on line 146
Deprecated: Non-static method Application::getName() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/install/form/InstallForm.inc.php on line 148
Deprecated: Non-static method Application::getName() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/install/form/InstallForm.inc.php on line 150
Deprecated: Non-static method VersionCheck::getCurrentCodeVersion() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/install/form/MaintenanceForm.inc.php on line 37
Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/form/Form.inc.php on line 369
Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/classes/core/PKPRequest.inc.php on line 592
Deprecated: Function create_function() is deprecated in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 269
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 559
Deprecated: Function create_function() is deprecated in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 269
Deprecated: Function create_function() is deprecated in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 269
Deprecated: Function create_function() is deprecated in /usr/local/www/apache24/data/ojs-3.1.0-1/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 269
OJS currently (as of OJS 3.1.0-1) relies on the create_function function, but that dependency is not major and will be removed before the function is no longer available in PHP.
I recommend disabling deprecation warnings and keeping your OJS up to date.
OK, i installed ojs but after the installation im getting the blank page when im opening the logs, im getting this error;
Recoverable fatal error: ini_set(): Cannot set 'user' save handler by ini_set() or session_module_name() in /usr/local/www/apache24/data/lib/pkp/classes/session/SessionManager.inc.php on line 36
Any recommend would be nice for me guys.

load_plugin_textdomain was called with an argument that is deprecated

my wordpress site and admin site not working.
some day ago i check site working fine but from last 2 days it shows show the error.
Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in /var/www/html/c_project/wp-includes/functions.php on line 3844
Notice: Undefined variable: mobile in /var/www/html/c_project/wp-content/plugins/smooth-page-scroll-to-top/smooth_scroll.php on line 24
Notice: The called constructor method for WP_Widget in AboutMeWidget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/html/c_project/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 /var/www/html/c_project/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 /var/www/html/c_project/wp-includes/functions.php on line 3718
Notice: Undefined index: act in /var/www/html/c_project/wp-content/plugins/image-captcha/image-captcha.php on line 69
Warning: require_once(/var/www/html/c_project/wp-content/themes/Divi/epanel/shortcodes/shortcodes.php): failed to open stream: No such file or directory in /var/www/html/c_project/wp-content/themes/Divi/functions.php on line 1252
Fatal error: require_once(): Failed opening required '/var/www/html/c_project/wp-content/themes/Divi/epanel/shortcodes/shortcodes.php' (include_path='/var/www/html/xphoto/models/dffa') in /var/www/html/c_project/wp-content/themes/Divi/functions.php on line 1252
how can i solve this error.?
Please suggest me.

I cant use HTTPREQUEST Class in php

I'm using xampp 1.8.1 on windows xp home edition and TS,VC9 and my php version is 5.4.7.
I did all thing even add php_http.dll in extension and add extension in php.ini but I could not use httprequest class
errors:
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 412
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 736
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 749
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 794
Strict Standards: Redefining already defined constructor for class Net_URL in C:\xampp\php\pear\Net\URL.php on line 124
Fatal error: Class 'HttpRequest' not found in C:\xampp\htdocs\crawl\index.php on line 4

Php ESP not running into php 5.3.4 version or later

I want to run phpESP on my local pc. But I'm getting lots of errors. How can I run this without any error?. It shows me errors like this:
Deprecated: Function split() is deprecated in C:\xampp\htdocs\zrg\phpESP\admin\include\lib\espi18n.inc on line 66
Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\zrg\phpESP\admin\include\lib\espi18n.inc on line 72
Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\xampp\htdocs\zrg\phpESP\admin\include\funcs.inc on line 23
Fatal error: Call to undefined function session_register() in C:\xampp\htdocs\zrg\phpESP\admin\manage.php on line 29
Did you grab the latest copy of phpESP? A version came out only a few months ago that must surely support a recent PHP. Also you need to update your version of PHP, yours is pretty old.
http://sourceforge.net/projects/phpesp/

Moving Wordpress site from Linux to Windows throws errors

I've been asked to move someone's blog from a Linux server to a Windows 2008 box. I used Xampp on the new box. When I try to access the blog I get the following errors:
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-settings.php on line 472
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-settings.php on line 487
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-settings.php on line 494
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-settings.php on line 530
Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 594
Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 594
Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 594
Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 594
Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 611
Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 705
Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 705
Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 705
Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 705
Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\classes.php on line 728
Strict Standards: Redefining already defined constructor for class wpdb in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\wp-db.php on line 306
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\cache.php on line 103
Strict Standards: Redefining already defined constructor for class WP_Object_Cache in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\cache.php on line 425
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\query.php on line 21
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\theme.php on line 623
Strict Standards: Redefining already defined constructor for class WP_Dependencies in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\class.wp-dependencies.php on line 15
Warning: Creating default object from empty value in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\update.php on line 39
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\class.wp-dependencies.php:15) in C:\xampp\htdocs\newblogBlog\httpdocs\wp-includes\pluggable.php on line 770
Any ideas?
I think your php.ini in your linux server was desactivating errors reporting.
For the strict standards you can hide them by removing E_STRICT from the option error_reporting in you php.ini file (but it may be better to fix them).
for the rest of the issues I do recommand you to fix them, especialy the warnings.
Also check that the PHP version in linux is the same as in windows, migrating from a version to another may result in issues like this.
check the used php-version on the server and on the xammp-box. You can do this with creating a single file that contains the single line
<?php phpinfo(); ?>
This gives you the used versions. If you can use the same versions on old and new system you can get less warnings, perhaps...
And if there are still the warnings, you can filter them out with the right entries in the php.ini.
it is recommended for a productive system to not display errors, someone could use the information to hack your system... you can change the detail level of displaying errors as mentioned by Yazmat, or turn off the displaying of errors in php.ini like this:
display_errors = 0

Categories